Skip to content

Commit

Permalink
add cmake run
Browse files Browse the repository at this point in the history
  • Loading branch information
inknos committed Sep 7, 2023
1 parent 85b5f2e commit dc30dc1
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/test-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

- name: Install dependencies
run: |
dnf install -y cmake ccache
dnf install -y cmake ccache gcc-c++ libtoml
- name: Prepare ccache timestamp
id: ccache_cache_timestamp
Expand All @@ -33,3 +33,13 @@ jobs:
key: ${ { matrix.config.name } }-ccache-${ { steps.ccache_cache_timestamp.outputs.timestamp } }
restore-keys: |
${ { matrix.config.name } }-ccache-
- name: Create ccache symlinks to prioritize it over gcc
run: |
ln -s /usr/bin/ccache /usr/local/bin/gcc
ln -s /usr/bin/ccache /usr/local/bin/g++
ln -s /usr/bin/ccache /usr/local/bin/cc
ln -s /usr/bin/ccache /usr/local/bin/c++
- name: Build dnf5
run: cmake --build build

0 comments on commit dc30dc1

Please sign in to comment.