Skip to content

Commit

Permalink
Abi in MacOS artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
hannesa2 committed Sep 11, 2024
1 parent 2b29fdd commit fcfa9b8
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/BuildPR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@ jobs:
fail-fast: false
matrix:
macos: [ macos-13 ]
abi: [ x86 ]
xcode: [ Xcode_15.2 ]
include:
- macos: macos-14
abi: arm64
xcode: Xcode
steps:
- name: Checkout
Expand All @@ -41,7 +43,7 @@ jobs:
uses: actions/upload-artifact@v4
if: ${{ success() }}
with:
name: DLTViewer-${{ matrix.macos }}-x86_64
name: DLTViewer-${{ matrix.macos }}-${{ matrix.abi }}
path: build/dist/DLTViewer*.tgz

buildLinux:
Expand Down
18 changes: 13 additions & 5 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,16 @@ on:
jobs:
buildMac:
name: Build macOS
runs-on: macos-13
runs-on: ${{ matrix.macos }}
strategy:
matrix:
xcode: [ Xcode_15.2 ]
abi: [ x86 ]
macos: [ macos-13 ]
include:
- macos: macos-14
abi: arm64
xcode: Xcode
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -30,12 +36,12 @@ jobs:
- name: Build project
run: scripts/darwin/build.sh
- name: Archive artifact
run: zip DLT-macOS.zip -r build/dist
run: zip DLT-macOS-${{ matrix.abi }}.zip -r build/dist
- name: Upload DLT artifact
uses: actions/upload-artifact@v4
with:
name: DLT-Mac
path: DLT-macOS.zip
name: DLT-Mac-${{ matrix.abi }}
path: DLT-macOS-${{ matrix.abi }}.zip

buildLinux:
name: Build ${{ matrix.ubuntu }}
Expand Down Expand Up @@ -115,7 +121,9 @@ jobs:
- name: Download DLT macOS artifacts
uses: actions/download-artifact@v4
with:
name: DLT-Mac
name: |
DLT-Mac-x86
DLT-Mac-arm64
- name: Download DLT Windows parser artifacts
uses: actions/download-artifact@v4
with:
Expand Down

0 comments on commit fcfa9b8

Please sign in to comment.