Skip to content

Commit 00cbf05

Browse files
committed
Update Ubuntu 22.04 cmake package job to match PR job
In order to ensure better use of ccache.
1 parent 29d5c2c commit 00cbf05

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/release-packages.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,7 @@ jobs:
3939
echo "CCACHE_BASEDIR=$PWD" >> $GITHUB_ENV
4040
echo "CCACHE_DIR=$PWD/.ccache" >> $GITHUB_ENV
4141
- name: Configure CMake
42-
run: |
43-
mkdir build
44-
cd build
45-
cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release
42+
run: cmake -S . -Bbuild -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=/usr/bin/gcc -DCMAKE_CXX_COMPILER=/usr/bin/g++
4643
- name: Zero ccache stats and limit in size
4744
run: ccache -z --max-size=500M
4845
- name: Build using Ninja

0 commit comments

Comments
 (0)