From 709210208032b3a18e2ade2f006bdaeb00cfeac2 Mon Sep 17 00:00:00 2001 From: Chuck Walbourn Date: Wed, 4 Sep 2024 16:42:31 -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 74e6404f..c632e9c4 100644 --- a/.github/workflows/wsl.yml +++ b/.github/workflows/wsl.yml @@ -28,6 +28,7 @@ jobs: matrix: build_type: [x64-Debug-Linux, x64-Release-Linux] + gcc: [10, 11, 12] steps: - uses: actions/checkout@v4 @@ -47,6 +48,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 }}