Skip to content

Commit

Permalink
ci: 🎡 validate wasm,android,apple bindings build on PRs (#50)
Browse files Browse the repository at this point in the history
* ci: 🎡 validate wasm,android,apple bindings build on PRs

* chore: 🤖 bring back the demo player build

* chore: 🤖 create independent workflows for wasm,android,apple

* chore: 🤖 fix typo
  • Loading branch information
theashraf authored Jan 19, 2024
1 parent a10d2c0 commit 2c3ccae
Show file tree
Hide file tree
Showing 3 changed files with 90 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Build (Android)

on:
workflow_dispatch:

jobs:
build:
runs-on: macos-latest
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.9.1
with:
access_token: ${{ github.token }}
- uses: actions/checkout@v4
- uses: Homebrew/actions/setup-homebrew@master
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable
- uses: ningenMe/setup-rustup@v1.1.0

- name: Install Make
run: brew install make

- name: Build Setup
run: make mac-setup

- name: Build Android
env:
APPLE_MACOSX_SDK: MacOSX13
run: make android
30 changes: 30 additions & 0 deletions .github/workflows/apple.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Build (Apple)

on:
workflow_dispatch:

jobs:
build:
runs-on: macos-latest
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.9.1
with:
access_token: ${{ github.token }}
- uses: actions/checkout@v4
- uses: Homebrew/actions/setup-homebrew@master
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable
- uses: ningenMe/setup-rustup@v1.1.0

- name: Install Make
run: brew install make

- name: Build Setup
run: make mac-setup

- name: Build Apple
env:
APPLE_MACOSX_SDK: MacOSX13
run: make apple
30 changes: 30 additions & 0 deletions .github/workflows/wasm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Build (WASM)

on:
workflow_dispatch:

jobs:
build:
runs-on: macos-latest
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.9.1
with:
access_token: ${{ github.token }}
- uses: actions/checkout@v4
- uses: Homebrew/actions/setup-homebrew@master
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable
- uses: ningenMe/setup-rustup@v1.1.0

- name: Install Make
run: brew install make

- name: Build Setup
run: make mac-setup

- name: Make WASM
env:
APPLE_MACOSX_SDK: MacOSX13
run: make wasm

0 comments on commit 2c3ccae

Please sign in to comment.