Skip to content

Commit

Permalink
setup zig
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Jan 16, 2024
1 parent aa5d23e commit cc49985
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/publish-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
- host: ubuntu-latest
target: armv7-unknown-linux-gnueabihf
build: |
yarn build --target armv7-unknown-linux-gnueabihf
yarn build --target armv7-unknown-linux-gnueabihf --zig
- host: ubuntu-latest
target: aarch64-unknown-linux-musl
downloadTarget: aarch64-unknown-linux-musl
Expand Down Expand Up @@ -124,6 +124,12 @@ jobs:
profile: minimal
override: true
target: ${{ matrix.settings.target }}

- uses: goto-bus-stop/setup-zig@v2
if: ${{ matrix.settings.target == 'armv7-unknown-linux-gnueabihf' }}
with:
version: 0.11.0

- name: Install dependencies
# run corepack enable again
# because on Windows, yarn will use `cmd` to run `yarn install`
Expand Down

0 comments on commit cc49985

Please sign in to comment.