Skip to content

feat: simplified Github workflow by running ci/run_all.sh instead of … #99

feat: simplified Github workflow by running ci/run_all.sh instead of …

feat: simplified Github workflow by running ci/run_all.sh instead of … #99

Workflow file for this run

name: Rust - Build, Test, Run
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: 1
jobs:
BuildAndTest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose -- --nocapture
RunAll:
runs-on: ubuntu-latest
needs: BuildAndTest
steps:
- uses: actions/checkout@v4
- name: Run all AOC solutions in Release mode
run: cargo build --release && time ci/runall.sh