File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,14 +31,11 @@ jobs:
3131
3232 - name : Build release version
3333 run : |
34- if [[ "${{ matrix.os }}"x =~ '^ubuntu' ]]; then
35- export CC=gcc
36- fi
3734 mkdir packcc-${{ github.ref_name }} &&
3835 (
3936 mkdir build-release &&
4037 cd build-release &&
41- cmake -DCMAKE_C_COMPILER=$CC - DCMAKE_BUILD_TYPE=Release .. &&
38+ cmake -DCMAKE_BUILD_TYPE=Release .. &&
4239 cmake --build . --config Release &&
4340 cmake --install . --config Release --prefix $PWD/../packcc-${{ github.ref_name }}
4441 ) &&
Original file line number Diff line number Diff line change @@ -203,7 +203,7 @@ jobs:
203203 (
204204 mkdir build-debug &&
205205 cd build-debug &&
206- cmake -DCMAKE_C_COMPILER=$CC - DCMAKE_BUILD_TYPE=Debug .. &&
206+ cmake -DCMAKE_BUILD_TYPE=Debug .. &&
207207 cmake --build . --config Debug --target check
208208 )
209209
@@ -212,6 +212,6 @@ jobs:
212212 (
213213 mkdir build-release &&
214214 cd build-release &&
215- cmake -DCMAKE_C_COMPILER=$CC - DCMAKE_BUILD_TYPE=Release .. &&
215+ cmake -DCMAKE_BUILD_TYPE=Release .. &&
216216 cmake --build . --config Release --target check
217217 )
You can’t perform that action at this time.
0 commit comments