Merge pull request #1360 from napi-rs/zig-0.10

ci: test for zig 0.10
This commit is contained in:
LongYinan 2022-11-06 23:53:56 +08:00 committed by GitHub
commit 69f043c8eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -52,7 +52,7 @@ jobs:
- name: Install ziglang - name: Install ziglang
uses: goto-bus-stop/setup-zig@v1 uses: goto-bus-stop/setup-zig@v1
with: with:
version: 0.9.1 version: 0.10.0
- name: Cache NPM dependencies - name: Cache NPM dependencies
uses: actions/cache@v3 uses: actions/cache@v3
with: with:

View file

@ -30,7 +30,7 @@ const ZIG_PLATFORM_TARGET_MAP = {
// 'x86_64-pc-windows-gnu': 'x86_64-windows-gnu', // 'x86_64-pc-windows-gnu': 'x86_64-windows-gnu',
// https://github.com/ziglang/zig/issues/1759 // https://github.com/ziglang/zig/issues/1759
// 'x86_64-unknown-freebsd': 'x86_64-freebsd', // 'x86_64-unknown-freebsd': 'x86_64-freebsd',
'x86_64-apple-darwin': 'x86_64-macos-gnu', 'x86_64-apple-darwin': 'x86_64-macos',
'aarch64-apple-darwin': 'aarch64-macos', 'aarch64-apple-darwin': 'aarch64-macos',
'aarch64-unknown-linux-gnu': 'aarch64-linux-gnu', 'aarch64-unknown-linux-gnu': 'aarch64-linux-gnu',
'aarch64-unknown-linux-musl': 'aarch64-linux-musl', 'aarch64-unknown-linux-musl': 'aarch64-linux-musl',