Skip to content

Feat/webp

Feat/webp #14

Workflow file for this run

name: Build Artifacts
# Todo remove on pull_request
on:
pull_request:
branches: [main]
# workflow_dispatch:
# inputs:
# target:
# type: choice
# description: "Target to build"
# required: true
# options:
# - "apple"
# - "android"
# - "wasm"
# - "all"
# commitSHA:
# description: "Commit SHA (leave blank for default branch)"
# required: false
jobs:
build:
runs-on: macos-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- uses: Homebrew/actions/setup-homebrew@master
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable
- uses: ningenMe/[email protected]
- 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
# - name: Upload Android Artifacts
# uses: actions/upload-artifact@v3
# with:
# name: android
# path: ./release/android/*.tar.gz
- name: Build Apple
env:
APPLE_MACOSX_SDK: MacOSX13
run: rm /usr/local/lib/libjpeg* ; make apple
# - name: Upload Apple Artifacts
# uses: actions/upload-artifact@v3
# with:
# name: apple
# path: ./release/apple/*.tar.gz
- name: Build WASM
env:
APPLE_MACOSX_SDK: MacOSX13
run: make wasm
# - name: Upload WASM Artifacts
# uses: actions/upload-artifact@v3
# with:
# name: wasm
# path: ./release/wasm/*.tar.gz