Skip to content

Commit

Permalink
define target, try matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
Sese-Schneider committed Jan 7, 2024
1 parent d2839f9 commit fa49f5e
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,14 @@ jobs:

runs-on: macos-latest

strategy:
fail-fast: false
matrix:
compiler: [gcc, clang]

env:
CC: 'clang'
CFLAGS: '-target arm64-apple-macos11'

steps:
- uses: actions/checkout@v3
Expand All @@ -82,11 +88,11 @@ jobs:
- name: Package artifacts
run: |
make install DESTDIR=$PWD/artifacts
tar -czf ${{ github.job }}-clang-arm64.tar.gz -C artifacts usr
tar -czf ${{ github.job }}-${{ matrix.compiler }}-arm64.tar.gz -C artifacts usr
- uses: actions/upload-artifact@v3
with:
name: ${{ github.job }}-clang-arm64
path: ${{ github.job }}-clang-arm64.tar.gz
name: ${{ github.job }}-${{ matrix.compiler }}-arm64
path: ${{ github.job }}-${{ matrix.compiler }}-arm64.tar.gz

windows:
name: Windows
Expand Down

0 comments on commit fa49f5e

Please sign in to comment.