From 553dbca4b73674e6a73a493dc60d4c43593abdcf Mon Sep 17 00:00:00 2001 From: WhiteSte <87181311+WhiteSte@users.noreply.github.com> Date: Fri, 19 Jan 2024 00:29:33 +0100 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d466f68..bae5baa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,8 @@ jobs: build: strategy: matrix: - os: [ubuntu-latest, macos-latest] + os: [ubuntu-latest, macos-latest, flyci-macos-large-latest-m1] + architecture: [x86_64, arm64] # Add ARM64 architecture java: [8] distribution: [temurin] pdal: [2.6.2] @@ -68,11 +69,17 @@ jobs: run: sbt +test - uses: actions/upload-artifact@v3 - if: ${{ startsWith(matrix.os, 'macos') }} + if: matrix.os == 'macos-latest' && matrix.architecture == 'x86_64' with: - name: macos + name: macos-x86_64 path: native/target/native/x86_64-darwin/bin + - uses: actions/upload-artifact@v3 + if: matrix.os == 'flyci-macos-large-latest-m1' && matrix.architecture == 'arm64' + with: + name: macos-arm64 + path: native/target/native/arm64-darwin/bin + publish: strategy: matrix: