Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish/build macos-aarch64 in CI #207

Merged
merged 1 commit into from
Apr 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ jobs:
matrix:
os:
[
{ name: "linux", runner: "ubuntu-latest" },
{ name: "macos", runner: "macos-latest" },
{ name: "linux-x86_64", runner: "ubuntu-latest" },
{ name: "macos-x86_64", runner: "macos-latest" },
{ name: "macos-aarch64", runner: "macos-latest-xlarge" },
]
runs-on: ${{ matrix.os.runner }}
permissions:
Expand All @@ -35,9 +36,9 @@ jobs:
# can't access Git at compile time. Related:
# https://github.com/snoyberg/githash/issues/9
cabal build
mv $(find ./dist-newstyle/ -name intlc -type f) dist-newstyle/intlc-${{ github.ref_name }}-${{ matrix.os.name }}-x86_64
mv $(find ./dist-newstyle/ -name intlc -type f) dist-newstyle/intlc-${{ github.ref_name }}-${{ matrix.os.name }}
- name: Release
uses: softprops/action-gh-release@v1
with:
files: |
dist-newstyle/intlc-${{ github.ref_name }}-${{ matrix.os.name }}-x86_64
dist-newstyle/intlc-${{ github.ref_name }}-${{ matrix.os.name }}
Loading