Skip to content

Commit

Permalink
Build for macOS and Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jameshiew committed Jul 31, 2024
1 parent ec5ccb0 commit d60bd74
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,13 @@ jobs:
- uses: Swatinem/rust-cache@v2
- run: cargo test
build-debug:
runs-on: ubuntu-latest
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
runs-on: ${{ matrix.os }}
needs:
- vet
- test
Expand All @@ -50,6 +56,7 @@ jobs:
- uses: actions/checkout@v4
- run: rustup show
- name: Install system packages needed by Bevy
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt-get install -y g++ pkg-config libx11-dev libasound2-dev libudev-dev libxkbcommon-x11-0 libwayland-dev libxkbcommon-dev
- uses: Swatinem/rust-cache@v2
Expand All @@ -59,14 +66,21 @@ jobs:
name: infinigen-debug-${{ runner.os }}-${{ runner.arch }}
path: target/debug/infinigen
build-release:
runs-on: ubuntu-latest
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
runs-on: ${{ matrix.os }}
needs:
- vet
- test
steps:
- uses: actions/checkout@v4
- run: rustup show
- name: Install system packages needed by Bevy
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt-get install -y g++ pkg-config libx11-dev libasound2-dev libudev-dev libxkbcommon-x11-0 libwayland-dev libxkbcommon-dev
- uses: Swatinem/rust-cache@v2
Expand Down

0 comments on commit d60bd74

Please sign in to comment.