diff --git a/.github/workflows/stable-build-matrix.yml b/.github/workflows/stable-build-matrix.yml new file mode 100644 index 0000000..89b3399 --- /dev/null +++ b/.github/workflows/stable-build-matrix.yml @@ -0,0 +1,30 @@ +name: Stable Build Matrix + +on: + push: + branches: + - stable + pull_request: + branches: + - stable + workflow_dispatch: + +jobs: + build: + name: ${{ matrix.os }} / ${{ matrix.feature }} + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: [ubuntu-latest, windows-latest, macos-latest] + feature: [headless, gui] + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Install Rust toolchain + uses: dtolnay/rust-toolchain@stable + + - name: Build Arcadia + run: cargo build -p arcadia --no-default-features --features ${{ matrix.feature }}