Skip to content

Apple Silicon macOS test/builds #7489

Apple Silicon macOS test/builds

Apple Silicon macOS test/builds #7489

Workflow file for this run

name: Zui CI
on:
pull_request:
push:
branches:
- main
workflow_dispatch:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
# macos-12 is is Intel-based (x64), macos-14 is Apple Silicon (arm64)
os: [macos-12, macos-14, ubuntu-20.04, windows-2019]
steps:
- run: git config --global core.autocrlf false
- uses: actions/checkout@v3
- uses: ./.github/actions/setup-zui
- run: yarn lint
- run: yarn test
- name: Build and install package
if: runner.os != 'Windows'
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set -x
case ${{ runner.os }} in
Linux )
yarn nx package-zui zui --linux=deb --publish never
sudo apt install -y --no-install-recommends ./dist/apps/zui/*.deb
;;
esac