Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 15 additions & 5 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,17 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Cache apt packages
id: cache-apt-packages
uses: actions/cache@v4
with:
path: |
~/gcc-13
~/g++-13
key: ${{ runner.os }}-deps-${{ hashFiles('**/apt.txt') }}

- name: Install dependencies
if: steps.cache-apt-packages.outputs.cache-hit != 'true'
run: |
sudo apt update
sudo apt install -y cmake graphviz
Expand All @@ -30,8 +40,8 @@ jobs:
CXX: g++-13
run: cmake -S . -B build

- name: Build
run: cd build && cmake --build .

- name: Unit tests
run: cd build && ctest
# - name: Build
# run: cd build && cmake --build .
#
# - name: Unit tests
# run: cd build && ctest