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 8, 2024
1 parent 3a5bf00 commit 57c1860
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 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,15 @@ jobs:
run: brew install gtk4 pkg-config
if: matrix.os == 'macos-latest'

- name: vcpkg build
uses: johnwason/vcpkg-action@v5
id: vcpkg
with:
pkgs: pkgconf gtk
triplet: x64-windows-release
token: ${{ github.token }}
if: matrix.os == 'windows-latest'

- uses: Swatinem/rust-cache@v2

- name: Build
Expand Down

0 comments on commit 57c1860

Please sign in to comment.