Skip to content

Commit

Permalink
fix mac runner and add windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Grégoire Henry committed Nov 14, 2023
1 parent f6d7472 commit 5aa8507
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
run: cargo check

check-macos:
runs-on: macos-14
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -41,5 +41,20 @@ jobs:
- name: Install SDL2
run: brew install SDL2

- name: Check that code can compile
run: cargo check

check-windows:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable

- name: Use SDL2 from repo/include/win
run: cp include/win/SDL2.dll .

- name: Check that code can compile
run: cargo check

0 comments on commit 5aa8507

Please sign in to comment.