From 5aa85073801e8eb436a9cbf588cd10187a452e0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Henry?= Date: Tue, 14 Nov 2023 17:28:03 +0100 Subject: [PATCH] fix mac runner and add windows --- .github/workflows/check.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index c53d1e6..d3d2dbd 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -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 @@ -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 \ No newline at end of file