Skip to content

Update build1k.ps1

Update build1k.ps1 #33

Workflow file for this run

name: osx
on: push
jobs:
build:
# The CMake configure and build commands are platform agnostic and should work equally
# well on Windows or Mac. You can convert this to a matrix build if you need
# cross-platform coverage.
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
runs-on: macos-latest
strategy:
matrix:
arch:
- x64
- arm64
env:
BUILD_ARCH: ${{ matrix.arch }}
steps:
- uses: actions/checkout@v3
with:
submodules: 'recursive'
- name: Build
# Execute the build. You can specify a specific target with "--target <NAME>"
shell: pwsh
run: |
./tools/ci.ps1 -p osx -a $env:BUILD_ARCH