Skip to content

Commit

Permalink
github: Split steps
Browse files Browse the repository at this point in the history
  • Loading branch information
jp7677 committed Dec 1, 2023
1 parent 096627b commit 18d4ce5
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,12 @@ jobs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Set up packages
run: |
sudo apt update
sudo apt install -y libdw-dev libunwind-dev
- name: Compile and run AoC 2020
run: |
sudo apt update && sudo apt install -y libdw-dev libunwind-dev
cd 2020
./build/make.sh
time ./cmake-build-release/adventofcode
Expand Down Expand Up @@ -83,9 +86,12 @@ jobs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Set up packages
run: |
sudo apt update
sudo apt install -y rustc cargo
- name: Compile and run AoC 2023
run: |
sudo apt update && sudo apt install -y rustc cargo
cd 2023
cargo fmt --check
cargo build --release
Expand Down

0 comments on commit 18d4ce5

Please sign in to comment.