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 }}