Skip to content

Commit

Permalink
Build universal binary for deploy job
Browse files Browse the repository at this point in the history
  • Loading branch information
olejnjak committed Nov 10, 2024
1 parent c683522 commit c534c9e
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,12 @@ jobs:
key: ${{ runner.os }}-spm-${{ hashFiles('**/Package.resolved') }}
restore-keys: |
${{ runner.os }}-spm-
- name: Build ARM64
- name: Build
run: |
swift build -c release --arch arm64
mv `swift build -c release --arch arm64 --show-bin-path`/torino torino-arm64
- name: Build AMD64
run: |
swift build -c release --arch x86_64
mv `swift build -c release --arch x86_64 --show-bin-path`/torino torino-x86_64
swift build -c release --arch x86_64 --arch arm64
mv `swift build -c release --arch x86_64 --arch arm64 --show-bin-path`/torino torino
- name: Release
uses: softprops/action-gh-release@v2
with:
generate_release_notes: true
files: |
torino-arm64
torino-x86_64
files: torino

0 comments on commit c534c9e

Please sign in to comment.