chore(napi): update ci template
This commit is contained in:
parent
6aeb116eb9
commit
e30019aa5c
1 changed files with 3 additions and 5 deletions
|
@ -142,9 +142,7 @@ jobs:
|
||||||
~/.cargo/registry/index/
|
~/.cargo/registry/index/
|
||||||
~/.cargo/registry/cache/
|
~/.cargo/registry/cache/
|
||||||
~/.cargo/git/db/
|
~/.cargo/git/db/
|
||||||
.cargo-cache/registry/index/
|
.cargo-cache
|
||||||
.cargo-cache/registry/cache/
|
|
||||||
.cargo-cache/git/db/
|
|
||||||
target/
|
target/
|
||||||
key: \${{ matrix.settings.target }}-cargo-\${{ matrix.settings.host }}
|
key: \${{ matrix.settings.target }}-cargo-\${{ matrix.settings.host }}
|
||||||
|
|
||||||
|
@ -181,7 +179,7 @@ jobs:
|
||||||
if: \${{ matrix.settings.docker }}
|
if: \${{ matrix.settings.docker }}
|
||||||
with:
|
with:
|
||||||
image: \${{ matrix.settings.docker }}
|
image: \${{ matrix.settings.docker }}
|
||||||
options: --user 0:0 -v \${{ github.workspace }}/.cargo-cache/git/db:/root/.cargo/git/db -v \${{ github.workspace }}/.cargo/registry/cache:/root/.cargo/registry/cache -v \${{ github.workspace }}/.cargo/registry/index:/root/.cargo/registry/index -v \${{ github.workspace }}:/build -w /build
|
options: --user 0:0 -v \${{ github.workspace }}/.cargo-cache/git/db:/usr/local/cargo/git/db -v \${{ github.workspace }}/.cargo/registry/cache:/usr/local/cargo/registry/cache -v \${{ github.workspace }}/.cargo/registry/index:/usr/local/cargo/registry/index -v \${{ github.workspace }}:/build -w /build
|
||||||
run: \${{ matrix.settings.build }}
|
run: \${{ matrix.settings.build }}
|
||||||
|
|
||||||
- name: 'Build'
|
- name: 'Build'
|
||||||
|
@ -203,7 +201,7 @@ jobs:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Build
|
- name: Build
|
||||||
id: build
|
id: build
|
||||||
uses: vmactions/freebsd-vm@v0.2.0
|
uses: vmactions/freebsd-vm@v0.2.3
|
||||||
env:
|
env:
|
||||||
DEBUG: 'napi:*'
|
DEBUG: 'napi:*'
|
||||||
RUSTUP_HOME: /usr/local/rustup
|
RUSTUP_HOME: /usr/local/rustup
|
||||||
|
|
Loading…
Reference in a new issue