From 6e801361f1b3b925e8accda75242888a103cc382 Mon Sep 17 00:00:00 2001 From: Jonah <47046556+jwbonner@users.noreply.github.com> Date: Mon, 23 Oct 2023 19:27:49 -0400 Subject: [PATCH] Test build of wpilibio on macOS CI --- .github/workflows/build.yml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fb49397e..9b850c8e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -116,11 +116,7 @@ jobs: strategy: matrix: host: - - { - os: macos-latest, - displayName: "macOS", - classifier: "osxuniversal", - } + - { os: macos-12, displayName: "macOS", classifier: "osxuniversal" } - { os: ubuntu-22.04, displayName: "Linux", @@ -153,6 +149,16 @@ jobs: if: github.event_name == 'release' uses: battila7/get-version-action@v2 + - name: "Debug: Build nativezip for macOS" + if: matrix.host.displayName == 'macOS' + run: bazelisk build //conduit/wpilibio/osxuniversal:nativezip + - name: "Debug: Upload nativezip for macOS" + if: matrix.host.displayName == 'macOS' + uses: actions/upload-artifact@v3 + with: + name: wpilibio-${{ matrix.host.classifier }}.zip + path: bazel-bin/conduit/wpilibio/osxuniversal/wpilibio-dev-${{ matrix.host.classifier }}.zip + # Upload conduit build - name: "Release: Install Dependencies" if: github.event_name == 'release'