From c303234290d479f111d255fc4f8afbf5dc9f79f4 Mon Sep 17 00:00:00 2001 From: Chuck Walbourn Date: Wed, 4 Sep 2024 16:36:47 -0700 Subject: [PATCH] Add GCC versions to WSL --- .github/workflows/wsl.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/wsl.yml b/.github/workflows/wsl.yml index e0107f07..ba630084 100644 --- a/.github/workflows/wsl.yml +++ b/.github/workflows/wsl.yml @@ -30,6 +30,7 @@ jobs: matrix: build_type: [x64-Debug-Linux, x64-Release-Linux] + gcc: [10, 11, 12] steps: - uses: actions/checkout@v4 @@ -49,6 +50,10 @@ jobs: -DCMAKE_TOOLCHAIN_FILE="${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake" -DVCPKG_MANIFEST_DIR="${{ github.workspace }}/build" -DVCPKG_TARGET_TRIPLET="x64-linux" + env: + CC: gcc-${{ matrix.gcc }} + CXX: g++-${{ matrix.gcc }} + - name: 'Build' working-directory: ${{ github.workspace }} run: cmake --build out/build/${{ matrix.build_type }}