Skip to content

Commit

Permalink
WIP: Add Windows CI
Browse files Browse the repository at this point in the history
  • Loading branch information
painfulexistence committed Apr 4, 2024
1 parent cb825fc commit a9f71d0
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/ci-native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest] # TODO: add windows-latest
os: [macos-latest, ubuntu-latest, windows-latest]
build-type: [Debug, MinSizeRel]

steps:
Expand All @@ -37,10 +37,12 @@ jobs:

- name: Set strings
id: strings
shell: bash
run: |
echo "build-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT"
- name: Bootstrap vcpkg
shell: bash
run: |
${{ github.workspace }}/vcpkg/bootstrap-vcpkg.sh
Expand All @@ -55,6 +57,11 @@ jobs:
run: |
brew install cmake
- name: Install CMake on Windows
if: matrix.os == 'windows-latest'
run: |
choco install cmake.portable
- name: CMake Configure
run: >
cmake -G Ninja
Expand Down

0 comments on commit a9f71d0

Please sign in to comment.