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