diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 6a3fec2..96422dc 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -9,24 +9,28 @@ on: jobs: build: - runs-on: macos-latest - + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [macos-12, macos-11] + arch: [aarch64] steps: - name: Checkout uses: actions/checkout@v2 with: submodules: recursive fetch-depth: 0 - + - name: Set up macOS aarch64 + uses: actions/virtual-environments/macOS-latest@v1 + with: + arch: aarch64 - name: Setup Zig uses: goto-bus-stop/setup-zig@v1.3.0 with: version: master - - run: zig build -Dtarget=aarch64-macos test - run: zig build -Dtarget=aarch64-macos test -Dstep-128 - run: zig build -Dtarget=aarch64-macos - run: zig build -Dtarget=aarch64-macos -Dondemand - run: zig build -Dtarget=aarch64-macos -Dstep-128 - run: zig build -Dtarget=aarch64-macos -Dondemand -Dstep-128 - \ No newline at end of file