Skip to content

Commit

Permalink
Add Windows to CI matrix.
Browse files Browse the repository at this point in the history
  • Loading branch information
martinling committed Jan 9, 2024
1 parent 62702fc commit f1fdd88
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ['macos-latest', 'ubuntu-22.04']
os: ['macos-latest', 'ubuntu-22.04', 'windows-latest']
rust: ['stable', '1.57']

runs-on: ${{ matrix.os }}
Expand All @@ -63,6 +63,12 @@ jobs:
run: brew install gtk4 pkg-config
if: matrix.os == 'macos-latest'

- name: Install dependencies (Windows)
uses: lukka/run-vcpkg@v11
with:
vcpkgGitCommitId: 2023.12.12
if: matrix.os == 'windows-latest'

- uses: Swatinem/rust-cache@v2

- name: Build
Expand Down
3 changes: 3 additions & 0 deletions vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"dependencies": ["gtk"]
}

0 comments on commit f1fdd88

Please sign in to comment.