Skip to content

Commit 27c7345

Browse files
committed
[.github/workflows/github-actions.yml] Try explicitly setting CMAKE_C_COMPILER & CMAKE_MAKE_PROGRAM
1 parent 847ca9a commit 27c7345

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/github-actions.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
if: matrix.os == 'macos-latest'
2727

2828
- name: Install dependencies for Ubuntu
29-
run: sudo apt-get install -y libcurl4-openssl-dev libarchive-dev make gcc ninja-build cmake
29+
run: sudo apt-get install -y cmake gcc libarchive-dev libcurl4-openssl-dev linux-libc-dev make ninja-build
3030
if: matrix.os == 'ubuntu-latest'
3131

3232
- name: Cache vcpkg
@@ -71,7 +71,11 @@ jobs:
7171
- name: configure (with vcpkg on non-Windows)
7272
working-directory: ./build
7373
run: |
74-
cmake -DCMAKE_BUILD_TYPE="Debug" -DCMAKE_TOOLCHAIN_FILE="$GITHUB_WORKSPACE/vcpkg/scripts/buildsystems/vcpkg.cmake" ..
74+
cmake -DCMAKE_BUILD_TYPE="Debug" \
75+
-DCMAKE_TOOLCHAIN_FILE="$GITHUB_WORKSPACE/vcpkg/scripts/buildsystems/vcpkg.cmake" \
76+
-DCMAKE_C_COMPILER="$(which gcc)" \
77+
-DCMAKE_MAKE_PROGRAM="$(which make)" \
78+
..
7579
if: matrix.os != 'windows-latest'
7680

7781
- name: build

0 commit comments

Comments
 (0)