Skip to content

chore: improve release & build artifacts workflow #149

chore: improve release & build artifacts workflow

chore: improve release & build artifacts workflow #149

Workflow file for this run

name: Build Artifacts
on:
pull_request:
jobs:
build-apple:
runs-on: macos-12
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- uses: Homebrew/actions/setup-homebrew@master
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: "13.3.1"
- uses: ningenMe/[email protected]
- name: Install Make
run: brew install make
- name: Build Setup
run: make mac-setup
env:
TARGET: apple
- name: Build Apple
env:
APPLE_XCODE_APP_NAME: Xcode_13.3.1.app
APPLE_MACOSX_SDK: MacOSX12.3
run: rm -f /usr/local/lib/libjpeg* ; make apple
- name: Upload Apple Artifacts
uses: actions/upload-artifact@v4
with:
name: apple
path: ./release/apple/*.tar.gz
build-android:
runs-on: macos-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- uses: Homebrew/actions/setup-homebrew@master
- uses: ningenMe/[email protected]
- name: Install Make
run: brew install make
- name: Build Setup
run: make mac-setup
env:
TARGET: android
- name: Build Android
run: make android
- name: Upload Android Artifacts
uses: actions/upload-artifact@v4
with:
name: android
path: ./release/android/*.tar.gz
build-wasm:
runs-on: macos-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- uses: Homebrew/actions/setup-homebrew@master
- uses: ningenMe/[email protected]
- name: Install Make
run: brew install make
- name: Build Setup
run: make mac-setup
env:
TARGET: wasm
- name: Build WASM
run: make wasm
- name: Upload WASM Artifacts
uses: actions/upload-artifact@v4
with:
name: wasm
path: ./release/wasm/*.tar.gz