Skip to content

Commit

Permalink
Update BuildAndTestOnPush.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
GuicLuca committed Oct 26, 2023
1 parent 0c8245b commit f2819ae
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/BuildAndTestOnPush.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,15 @@ jobs:
run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
working-directory: ${{ matrix.workdir }}

- name: Install CMake
uses: cmake/setup-cmake@v1
- name: Install CMake (Linux and macOS)
run: sudo apt-get update && sudo apt-get install -y cmake
working-directory: ${{ matrix.workdir }}
if: ${{ matrix.os != 'windows-latest' }}

- name: Install CMake (Windows)
run: choco install cmake --installargs 'ADD_CMAKE_TO_PATH=System'
working-directory: ${{ matrix.workdir }}
if: ${{ matrix.os == 'windows-latest' }}

- name: Build for ${{ matrix.os }}
run: cargo build --release
Expand Down

0 comments on commit f2819ae

Please sign in to comment.