chore: ci components upgrade (#1512)
This commit is contained in:
parent
0904dc5d43
commit
60dea3d6d0
20 changed files with 54 additions and 120 deletions
7
.github/workflows/android-armv7.yml
vendored
7
.github/workflows/android-armv7.yml
vendored
|
@ -21,18 +21,15 @@ jobs:
|
||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 18
|
||||||
cache: 'yarn'
|
cache: 'yarn'
|
||||||
check-latest: true
|
|
||||||
|
|
||||||
- name: List NDK Home
|
- name: List NDK Home
|
||||||
run: ls -R "${ANDROID_NDK_LATEST_HOME}"
|
run: ls -R "${ANDROID_NDK_LATEST_HOME}"
|
||||||
|
|
||||||
- name: Install
|
- name: Install
|
||||||
uses: actions-rs/toolchain@v1
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
profile: minimal
|
targets: armv7-linux-androideabi
|
||||||
override: true
|
|
||||||
target: 'armv7-linux-androideabi'
|
|
||||||
|
|
||||||
- name: Cache cargo
|
- name: Cache cargo
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
|
|
7
.github/workflows/android.yml
vendored
7
.github/workflows/android.yml
vendored
|
@ -21,18 +21,15 @@ jobs:
|
||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 18
|
||||||
cache: 'yarn'
|
cache: 'yarn'
|
||||||
check-latest: true
|
|
||||||
|
|
||||||
- name: List NDK Home
|
- name: List NDK Home
|
||||||
run: ls -R "${ANDROID_NDK_LATEST_HOME}"
|
run: ls -R "${ANDROID_NDK_LATEST_HOME}"
|
||||||
|
|
||||||
- name: Install
|
- name: Install
|
||||||
uses: actions-rs/toolchain@v1
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
profile: minimal
|
targets: aarch64-linux-android
|
||||||
override: true
|
|
||||||
target: 'aarch64-linux-android'
|
|
||||||
|
|
||||||
- name: Cache cargo
|
- name: Cache cargo
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
|
|
15
.github/workflows/asan.yml
vendored
15
.github/workflows/asan.yml
vendored
|
@ -20,17 +20,14 @@ jobs:
|
||||||
- name: Setup node
|
- name: Setup node
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 16
|
node-version: 18
|
||||||
check-latest: true
|
|
||||||
cache: 'yarn'
|
cache: 'yarn'
|
||||||
|
|
||||||
- name: Install
|
- name: Install
|
||||||
uses: actions-rs/toolchain@v1
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: nightly
|
toolchain: nightly
|
||||||
profile: minimal
|
|
||||||
components: rust-src
|
components: rust-src
|
||||||
override: true
|
|
||||||
|
|
||||||
- name: Cache cargo
|
- name: Cache cargo
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
|
@ -38,13 +35,7 @@ jobs:
|
||||||
path: |
|
path: |
|
||||||
~/.cargo/registry
|
~/.cargo/registry
|
||||||
~/.cargo/git
|
~/.cargo/git
|
||||||
key: nightly-ubuntu-node@16-cargo-cache
|
key: nightly-ubuntu-node@18-cargo-cache
|
||||||
|
|
||||||
- name: Cache NPM dependencies
|
|
||||||
uses: actions/cache@v3
|
|
||||||
with:
|
|
||||||
path: .yarn/cache
|
|
||||||
key: npm-cache-ubuntu-node@16
|
|
||||||
|
|
||||||
- name: 'Install dependencies'
|
- name: 'Install dependencies'
|
||||||
run: yarn install --immutable --mode=skip-build
|
run: yarn install --immutable --mode=skip-build
|
||||||
|
|
4
.github/workflows/bench.yaml
vendored
4
.github/workflows/bench.yaml
vendored
|
@ -26,11 +26,9 @@ jobs:
|
||||||
cache: 'yarn'
|
cache: 'yarn'
|
||||||
|
|
||||||
- name: Install
|
- name: Install
|
||||||
uses: actions-rs/toolchain@v1
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
profile: default
|
|
||||||
override: true
|
|
||||||
|
|
||||||
- name: Cache cargo
|
- name: Cache cargo
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
|
|
4
.github/workflows/check-all-features.yml
vendored
4
.github/workflows/check-all-features.yml
vendored
|
@ -33,11 +33,9 @@ jobs:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Install
|
- name: Install
|
||||||
uses: actions-rs/toolchain@v1
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
profile: minimal
|
|
||||||
override: true
|
|
||||||
|
|
||||||
- name: Cache cargo
|
- name: Cache cargo
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
|
|
4
.github/workflows/cli-binary.yml
vendored
4
.github/workflows/cli-binary.yml
vendored
|
@ -24,11 +24,9 @@ jobs:
|
||||||
cache: 'yarn'
|
cache: 'yarn'
|
||||||
|
|
||||||
- name: Install
|
- name: Install
|
||||||
uses: actions-rs/toolchain@v1
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
profile: minimal
|
|
||||||
override: true
|
|
||||||
|
|
||||||
- name: Cache cargo
|
- name: Cache cargo
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
|
|
18
.github/workflows/docker.yaml
vendored
18
.github/workflows/docker.yaml
vendored
|
@ -14,20 +14,20 @@ jobs:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Setup QEMU
|
- name: Setup QEMU
|
||||||
uses: docker/setup-qemu-action@v1
|
uses: docker/setup-qemu-action@v2
|
||||||
|
|
||||||
- name: Setup Docker Buildx
|
- name: Setup Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v2
|
||||||
|
|
||||||
- name: Login to GitHub Container Registry
|
- name: Login to GitHub Container Registry
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ secrets.GH_CONTAINER_UNAME }}
|
username: ${{ secrets.GH_CONTAINER_UNAME }}
|
||||||
password: ${{ secrets.GH_TOKEN }}
|
password: ${{ secrets.GH_TOKEN }}
|
||||||
|
|
||||||
- name: Build and push alpine
|
- name: Build and push alpine
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v4
|
||||||
with:
|
with:
|
||||||
file: alpine.Dockerfile
|
file: alpine.Dockerfile
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
|
@ -35,7 +35,7 @@ jobs:
|
||||||
tags: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
|
tags: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
|
||||||
|
|
||||||
- name: Build and push debian
|
- name: Build and push debian
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v4
|
||||||
with:
|
with:
|
||||||
file: debian.Dockerfile
|
file: debian.Dockerfile
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
|
@ -58,7 +58,7 @@ jobs:
|
||||||
rm /usr/lib/llvm-15/lib/libc++abi.so
|
rm /usr/lib/llvm-15/lib/libc++abi.so
|
||||||
|
|
||||||
- name: Build and push debian aarch64 cross
|
- name: Build and push debian aarch64 cross
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v4
|
||||||
with:
|
with:
|
||||||
file: debian-aarch64.Dockerfile
|
file: debian-aarch64.Dockerfile
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
|
@ -67,10 +67,10 @@ jobs:
|
||||||
context: .
|
context: .
|
||||||
|
|
||||||
- name: Cleanup
|
- name: Cleanup
|
||||||
run: rm -rf "${{ github.workspace }}/lib"
|
run: sudo rm -rf "${{ github.workspace }}/lib"
|
||||||
|
|
||||||
- name: Build and push debian with zig
|
- name: Build and push debian with zig
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v4
|
||||||
with:
|
with:
|
||||||
file: debian-zig.Dockerfile
|
file: debian-zig.Dockerfile
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
|
@ -78,7 +78,7 @@ jobs:
|
||||||
tags: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian-zig
|
tags: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian-zig
|
||||||
|
|
||||||
- name: Build and push alpine with zig
|
- name: Build and push alpine with zig
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v4
|
||||||
with:
|
with:
|
||||||
file: alpine-zig.Dockerfile
|
file: alpine-zig.Dockerfile
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
|
|
5
.github/workflows/lint.yaml
vendored
5
.github/workflows/lint.yaml
vendored
|
@ -18,15 +18,12 @@ jobs:
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 18
|
||||||
check-latest: true
|
|
||||||
cache: 'yarn'
|
cache: 'yarn'
|
||||||
|
|
||||||
- name: Install
|
- name: Install
|
||||||
uses: actions-rs/toolchain@v1
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
profile: default
|
|
||||||
override: true
|
|
||||||
components: rustfmt, clippy
|
components: rustfmt, clippy
|
||||||
|
|
||||||
- name: Cache cargo
|
- name: Cache cargo
|
||||||
|
|
15
.github/workflows/linux-aarch64-musl.yaml
vendored
15
.github/workflows/linux-aarch64-musl.yaml
vendored
|
@ -15,15 +15,12 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- run: docker run --rm --privileged multiarch/qemu-user-static:register --reset
|
|
||||||
|
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Setup node
|
- name: Setup node
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 18
|
||||||
check-latest: true
|
|
||||||
cache: 'yarn'
|
cache: 'yarn'
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
|
@ -42,11 +39,13 @@ jobs:
|
||||||
yarn workspace compat-mode-examples build --target aarch64-unknown-linux-musl
|
yarn workspace compat-mode-examples build --target aarch64-unknown-linux-musl
|
||||||
yarn workspace examples build --target aarch64-unknown-linux-musl
|
yarn workspace examples build --target aarch64-unknown-linux-musl
|
||||||
|
|
||||||
|
- run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
|
||||||
|
|
||||||
- name: Setup and run tests
|
- name: Setup and run tests
|
||||||
uses: docker://multiarch/alpine:aarch64-latest-stable
|
uses: addnab/docker-run-action@v3
|
||||||
with:
|
with:
|
||||||
args: >
|
image: node:lts-alpine
|
||||||
sh -c "
|
options: --platform linux/arm64 -v ${{ github.workspace }}:/build -w /build
|
||||||
apk add nodejs yarn && \
|
run: |
|
||||||
|
set -e
|
||||||
yarn test
|
yarn test
|
||||||
"
|
|
||||||
|
|
16
.github/workflows/linux-aarch64.yaml
vendored
16
.github/workflows/linux-aarch64.yaml
vendored
|
@ -15,8 +15,6 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- run: docker run --rm --privileged multiarch/qemu-user-static:register --reset
|
|
||||||
|
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Setup node
|
- name: Setup node
|
||||||
|
@ -27,12 +25,10 @@ jobs:
|
||||||
cache: 'yarn'
|
cache: 'yarn'
|
||||||
|
|
||||||
- name: Install
|
- name: Install
|
||||||
uses: actions-rs/toolchain@v1
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
profile: minimal
|
targets: aarch64-unknown-linux-gnu
|
||||||
override: true
|
|
||||||
target: aarch64-unknown-linux-gnu
|
|
||||||
|
|
||||||
- name: Cache cargo
|
- name: Cache cargo
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
|
@ -45,7 +41,7 @@ jobs:
|
||||||
- name: Install ziglang
|
- name: Install ziglang
|
||||||
uses: goto-bus-stop/setup-zig@v2
|
uses: goto-bus-stop/setup-zig@v2
|
||||||
with:
|
with:
|
||||||
version: 0.10.0
|
version: 0.10.1
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: yarn install --immutable --mode=skip-build
|
run: yarn install --immutable --mode=skip-build
|
||||||
|
@ -56,9 +52,11 @@ jobs:
|
||||||
- name: Cross build native tests
|
- name: Cross build native tests
|
||||||
run: yarn build:test:aarch64
|
run: yarn build:test:aarch64
|
||||||
|
|
||||||
|
- run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
|
||||||
|
|
||||||
- name: Setup and run tests
|
- name: Setup and run tests
|
||||||
uses: addnab/docker-run-action@v3
|
uses: addnab/docker-run-action@v3
|
||||||
with:
|
with:
|
||||||
image: ghcr.io/napi-rs/napi-rs/nodejs:aarch64-16
|
image: node:lts-slim
|
||||||
options: -v ${{ github.workspace }}:/build -w /build
|
options: --platform linux/arm64 -v ${{ github.workspace }}:/build -w /build
|
||||||
run: yarn test
|
run: yarn test
|
||||||
|
|
14
.github/workflows/linux-armv7.yaml
vendored
14
.github/workflows/linux-armv7.yaml
vendored
|
@ -15,8 +15,6 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- run: docker run --rm --privileged multiarch/qemu-user-static:register --reset
|
|
||||||
|
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Setup node
|
- name: Setup node
|
||||||
|
@ -27,12 +25,10 @@ jobs:
|
||||||
cache: 'yarn'
|
cache: 'yarn'
|
||||||
|
|
||||||
- name: Install
|
- name: Install
|
||||||
uses: actions-rs/toolchain@v1
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
profile: minimal
|
targets: armv7-unknown-linux-gnueabihf
|
||||||
override: true
|
|
||||||
target: armv7-unknown-linux-gnueabihf
|
|
||||||
|
|
||||||
- name: Install ziglang
|
- name: Install ziglang
|
||||||
uses: goto-bus-stop/setup-zig@v2
|
uses: goto-bus-stop/setup-zig@v2
|
||||||
|
@ -57,9 +53,11 @@ jobs:
|
||||||
- name: Cross build native tests
|
- name: Cross build native tests
|
||||||
run: yarn build:test:armv7
|
run: yarn build:test:armv7
|
||||||
|
|
||||||
|
- run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
|
||||||
|
|
||||||
- name: Setup and run tests
|
- name: Setup and run tests
|
||||||
uses: addnab/docker-run-action@v3
|
uses: addnab/docker-run-action@v3
|
||||||
with:
|
with:
|
||||||
image: ghcr.io/napi-rs/napi-rs/nodejs:armhf-16
|
image: node:lts-bullseye-slim
|
||||||
options: -v ${{ github.workspace }}:/build -w /build
|
options: --platform linux/arm/v7 -v ${{ github.workspace }}:/build -w /build
|
||||||
run: yarn test
|
run: yarn test
|
||||||
|
|
1
.github/workflows/linux-musl.yaml
vendored
1
.github/workflows/linux-musl.yaml
vendored
|
@ -21,7 +21,6 @@ jobs:
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 18
|
||||||
check-latest: true
|
|
||||||
cache: 'yarn'
|
cache: 'yarn'
|
||||||
|
|
||||||
- name: 'Install dependencies'
|
- name: 'Install dependencies'
|
||||||
|
|
8
.github/workflows/memory-test.yml
vendored
8
.github/workflows/memory-test.yml
vendored
|
@ -21,15 +21,13 @@ jobs:
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 18
|
||||||
check-latest: true
|
|
||||||
cache: 'yarn'
|
cache: 'yarn'
|
||||||
|
|
||||||
- name: Install stable
|
- name: Install stable
|
||||||
uses: actions-rs/toolchain@v1
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: stable-x86_64-unknown-linux-gnu
|
targets: x86_64-unknown-linux-gnu
|
||||||
profile: minimal
|
toolchain: stable
|
||||||
override: true
|
|
||||||
|
|
||||||
- name: Cache cargo
|
- name: Cache cargo
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
|
|
5
.github/workflows/msrv.yml
vendored
5
.github/workflows/msrv.yml
vendored
|
@ -21,15 +21,12 @@ jobs:
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 18
|
||||||
check-latest: true
|
|
||||||
cache: 'yarn'
|
cache: 'yarn'
|
||||||
|
|
||||||
- name: Install
|
- name: Install
|
||||||
uses: actions-rs/toolchain@v1
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: 1.57.0
|
toolchain: 1.57.0
|
||||||
profile: minimal
|
|
||||||
override: true
|
|
||||||
|
|
||||||
- name: Cache cargo
|
- name: Cache cargo
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
|
|
5
.github/workflows/test.yaml
vendored
5
.github/workflows/test.yaml
vendored
|
@ -28,15 +28,12 @@ jobs:
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node }}
|
node-version: ${{ matrix.node }}
|
||||||
check-latest: true
|
|
||||||
cache: 'yarn'
|
cache: 'yarn'
|
||||||
|
|
||||||
- name: Install
|
- name: Install
|
||||||
uses: actions-rs/toolchain@v1
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
profile: minimal
|
|
||||||
override: true
|
|
||||||
|
|
||||||
- name: Cache cargo
|
- name: Cache cargo
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
|
|
7
.github/workflows/windows-arm.yml
vendored
7
.github/workflows/windows-arm.yml
vendored
|
@ -21,7 +21,6 @@ jobs:
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 18
|
||||||
check-latest: true
|
|
||||||
cache: 'yarn'
|
cache: 'yarn'
|
||||||
|
|
||||||
- name: 'Install dependencies'
|
- name: 'Install dependencies'
|
||||||
|
@ -31,12 +30,10 @@ jobs:
|
||||||
run: yarn build
|
run: yarn build
|
||||||
|
|
||||||
- name: Install
|
- name: Install
|
||||||
uses: actions-rs/toolchain@v1
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
profile: minimal
|
targets: aarch64-pc-windows-msvc
|
||||||
override: true
|
|
||||||
target: aarch64-pc-windows-msvc
|
|
||||||
|
|
||||||
- name: Cache cargo
|
- name: Cache cargo
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
|
|
12
.github/workflows/windows-i686.yml
vendored
12
.github/workflows/windows-i686.yml
vendored
|
@ -21,8 +21,6 @@ jobs:
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 18
|
||||||
check-latest: true
|
|
||||||
architecture: 'x64'
|
|
||||||
cache: 'yarn'
|
cache: 'yarn'
|
||||||
|
|
||||||
- name: 'Install dependencies'
|
- name: 'Install dependencies'
|
||||||
|
@ -33,12 +31,10 @@ jobs:
|
||||||
run: yarn build
|
run: yarn build
|
||||||
|
|
||||||
- name: Install
|
- name: Install
|
||||||
uses: actions-rs/toolchain@v1
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
profile: minimal
|
targets: i686-pc-windows-msvc
|
||||||
override: true
|
|
||||||
target: i686-pc-windows-msvc
|
|
||||||
|
|
||||||
- name: Cache cargo
|
- name: Cache cargo
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
|
@ -47,7 +43,7 @@ jobs:
|
||||||
~/.cargo/registry
|
~/.cargo/registry
|
||||||
~/.cargo/git
|
~/.cargo/git
|
||||||
target
|
target
|
||||||
key: stable-windows-i686-node@16-cargo-cache
|
key: stable-windows-i686-node@18-cargo-cache
|
||||||
|
|
||||||
- name: Check build
|
- name: Check build
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
|
@ -58,7 +54,7 @@ jobs:
|
||||||
- name: Setup node
|
- name: Setup node
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 16
|
node-version: 18
|
||||||
check-latest: true
|
check-latest: true
|
||||||
architecture: 'x86'
|
architecture: 'x86'
|
||||||
|
|
||||||
|
|
7
.github/workflows/zig.yaml
vendored
7
.github/workflows/zig.yaml
vendored
|
@ -30,15 +30,12 @@ jobs:
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 18
|
||||||
check-latest: true
|
|
||||||
cache: 'yarn'
|
cache: 'yarn'
|
||||||
- name: Install
|
- name: Install
|
||||||
uses: actions-rs/toolchain@v1
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
profile: minimal
|
targets: ${{ matrix.target }}
|
||||||
override: true
|
|
||||||
target: ${{ matrix.target }}
|
|
||||||
- name: Cache cargo
|
- name: Cache cargo
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
FROM multiarch/ubuntu-core:arm64-focal
|
|
||||||
|
|
||||||
ARG NODE_VERSION=14
|
|
||||||
|
|
||||||
RUN apt-get update && \
|
|
||||||
apt-get install -y ca-certificates gnupg2 curl apt-transport-https && \
|
|
||||||
curl -sL https://deb.nodesource.com/setup_${NODE_VERSION}.x | bash - && \
|
|
||||||
apt-get install -y nodejs && \
|
|
||||||
npm install -g yarn pnpm
|
|
|
@ -1,9 +0,0 @@
|
||||||
FROM multiarch/ubuntu-core:armhf-focal
|
|
||||||
|
|
||||||
ARG NODE_VERSION=14
|
|
||||||
|
|
||||||
RUN apt-get update && \
|
|
||||||
apt-get install -y ca-certificates gnupg2 curl apt-transport-https && \
|
|
||||||
curl -sL https://deb.nodesource.com/setup_${NODE_VERSION}.x | bash - && \
|
|
||||||
apt-get install -y nodejs && \
|
|
||||||
npm install -g yarn pnpm
|
|
Loading…
Reference in a new issue