Skip to content

Commit

Permalink
Build all projects only on ARM Mac (#1377)
Browse files Browse the repository at this point in the history
We only need to test the QuickJS build is working for the architecture. We can assume a single test of everything else on any architecture is sufficent.
  • Loading branch information
JakeWharton authored Jul 9, 2024
1 parent 1ee887b commit 412d3c4
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:
- name: Build native library (Linux)
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt-get install -y libtinfo5
cp -a . ../zipline-dockerbuild
docker build \
--tag zipline-linux-amd64 \
Expand All @@ -57,14 +58,15 @@ jobs:
if: matrix.os == 'macos-latest' || matrix.os == 'macos-latest-large'
run: ./.github/workflows/build-mac.sh -a ${{ matrix.arch }} -c ${{ matrix.cmake-arch }}

- name: Install libtinfo5
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get install -y libtinfo5
- name: Zipline tests
run: ./gradlew :zipline:check --stacktrace

- name: Build Zipline
- name: Build all Zipline
if: matrix.os == 'macos-latest'
run: ./gradlew build --stacktrace

- name: Build samples
if: matrix.os == 'macos-latest'
run: ./gradlew -p samples check --stacktrace

- uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 412d3c4

Please sign in to comment.