Skip to content

Commit

Permalink
github action #78
Browse files Browse the repository at this point in the history
  • Loading branch information
yousefvand committed Nov 20, 2024
1 parent 5b39311 commit 6debc22
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
brew install ninja qt
echo "CMAKE_PREFIX_PATH=$(brew --prefix qt)" >> $GITHUB_ENV
### Windows Dependencies
### Windows Setup
- name: Install dependencies (Windows)
if: matrix.os == 'windows-latest'
shell: powershell
Expand All @@ -55,8 +55,8 @@ jobs:
choco install ninja -y
choco install cmake --installargs 'ADD_CMAKE_TO_PATH=System' -y
### Configure CMake
- name: Configure CMake
if: matrix.os == 'windows-latest'
shell: cmd
run: |
cmake -B "%GITHUB_WORKSPACE%/build" ^
Expand All @@ -66,13 +66,13 @@ jobs:
-G "Ninja" ^
-S "%GITHUB_WORKSPACE%"
### Build the Project
- name: Build
if: matrix.os == 'windows-latest'
shell: cmd
run: cmake --build "%GITHUB_WORKSPACE%/build" --config Release

### Run Tests
- name: Test
if: matrix.os == 'windows-latest'
shell: cmd
working-directory: "%GITHUB_WORKSPACE%/build"
run: ctest --output-on-failure --build-config Release

0 comments on commit 6debc22

Please sign in to comment.