From f6d7472cee7881c902a727e2d3900b63709513f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Henry?= Date: Tue, 14 Nov 2023 17:06:44 +0100 Subject: [PATCH] try run-on macos-14 --- .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 670217c..c53d1e6 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -6,7 +6,7 @@ on: - '**' jobs: - check: + check-ubuntu: runs-on: ubuntu-latest steps: - name: Checkout @@ -26,5 +26,20 @@ jobs: - name: Install SDL2 run: sudo apt install -y libsdl2-dev + - name: Check that code can compile + run: cargo check + + check-macos: + runs-on: macos-14 + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Install stable toolchain + uses: dtolnay/rust-toolchain@stable + + - name: Install SDL2 + run: brew install SDL2 + - name: Check that code can compile run: cargo check \ No newline at end of file