Skip to content

Commit

Permalink
Fix steps
Browse files Browse the repository at this point in the history
  • Loading branch information
yobeonline committed Jan 7, 2024
1 parent e121f7c commit 8bfbefa
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@ jobs:
- name: Get latest cmake
uses: lukka/get-cmake@latest

- name: Set compiler (!Windows)
env:
CC: gcc-13
CXX: g++-13
TRIPLET: x64-linux
if: runner.os != 'Windows'
- name: Set compiler (ubuntu-latest)
if: matrix.os == 'ubuntu-latest'
run: |
echo "CC=gcc-13" >> $GITHUB_ENV
echo "CXX=g++-13" >> $GITHUB_ENV
echo "TRIPLET=x64-linux" >> $GITHUB_ENV
- name: Set compiler (Windows)
env:
TRIPLET: x64-windows
if: runner.os == 'Windows'
- name: Set compiler (windows-latest)
if: maxtrix.os == 'windows-latest'
run: |
echo "TRIPLET=x64-windows" >> $GITHUB_ENV
- name: Configure
run: cmake -B build -S . -A x64 -DCMAKE_BUILD_TYPE=${{ matrix.config }} -DVCPKG_TARGET_TRIPLET=${TRIPLET} --toolchain=${VCPKG_INSTALLATION_ROOT}\scripts\buildsystems\vcpkg.cmake
Expand Down

0 comments on commit 8bfbefa

Please sign in to comment.