Skip to content

Commit c303234

Browse files
committed
Add GCC versions to WSL
1 parent 0eec6ec commit c303234

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/wsl.yml

+5
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030

3131
matrix:
3232
build_type: [x64-Debug-Linux, x64-Release-Linux]
33+
gcc: [10, 11, 12]
3334

3435
steps:
3536
- uses: actions/checkout@v4
@@ -49,6 +50,10 @@ jobs:
4950
-DCMAKE_TOOLCHAIN_FILE="${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake" -DVCPKG_MANIFEST_DIR="${{ github.workspace }}/build"
5051
-DVCPKG_TARGET_TRIPLET="x64-linux"
5152
53+
env:
54+
CC: gcc-${{ matrix.gcc }}
55+
CXX: g++-${{ matrix.gcc }}
56+
5257
- name: 'Build'
5358
working-directory: ${{ github.workspace }}
5459
run: cmake --build out/build/${{ matrix.build_type }}

0 commit comments

Comments
 (0)