Skip to content

Commit

Permalink
Merge pull request #20 from nim-lang/ringabout-patch-2
Browse files Browse the repository at this point in the history
try to build for macOS arm64
  • Loading branch information
ringabout authored Aug 29, 2024
2 parents fa80ea1 + 7b6c8a9 commit 9d4a3ba
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/release_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,25 @@ jobs:
tag: ${{ github.ref }}
asset_name: choosenim-macos
file: ${{ runner.workspace }}/choosenim/bin/choosenim

build-macos_arm64:
runs-on: macos-12
steps:
- uses: actions/checkout@v4
- uses: jiro4989/setup-nim-action@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Build binary
run: |
git config --global --add safe.directory /__w/choosenim/choosenim
nimble install -y
nimble build
ls bin/*
- name: Upload binaries to release/tag
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
overwrite: true
tag: ${{ github.ref }}
asset_name: choosenim-macos_arm64
file: ${{ runner.workspace }}/choosenim/bin/choosenim

0 comments on commit 9d4a3ba

Please sign in to comment.