Skip to content

Commit

Permalink
Fix CI build steps (#1195)
Browse files Browse the repository at this point in the history
* Pin docker images for rust build CI actions

* Remove debug ls
  • Loading branch information
mat-if authored Apr 5, 2022
1 parent a038827 commit ba7b2ce
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/deploy-npm-ironfish-rust-nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ jobs:
- host: ubuntu-latest
target: x86_64-unknown-linux-gnu
architecture: x64
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust@sha256:c9735923823026d494a3e544818911e187d0d014e8ac01bdf3bbd62efe5ee0d2
build: cd ironfish-rust-nodejs && yarn build && strip *.node

- host: ubuntu-latest
target: x86_64-unknown-linux-musl
architecture: x64
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust@sha256:749e81d2fa2fdcda2732e284069fdd8469702da007eb6088df426cdb813b3ecc
build: cd ironfish-rust-nodejs && yarn build && strip *.node

- host: macos-latest
Expand All @@ -59,7 +59,7 @@ jobs:
- host: ubuntu-latest
target: aarch64-unknown-linux-musl
architecture: x64
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust@sha256:749e81d2fa2fdcda2732e284069fdd8469702da007eb6088df426cdb813b3ecc
build: |
rustup target add aarch64-unknown-linux-musl
cd ironfish-rust-nodejs
Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:
shell: bash

- name: Install dependencies
run: npm install
run: npm install --no-workspaces
working-directory: ./ironfish-rust-nodejs

- name: Build in Docker
Expand Down Expand Up @@ -139,7 +139,7 @@ jobs:

- host: ubuntu-latest
target: aarch64-unknown-linux-gnu
docker: ghcr.io/napi-rs/napi-rs/nodejs:aarch64-16
docker: ghcr.io/napi-rs/napi-rs/nodejs@sha256:b145122cb5e68d8133e0eef0395af490eab781a648c637e43522e7fa33e63970

- host: ubuntu-latest
target: aarch64-unknown-linux-musl
Expand Down Expand Up @@ -168,7 +168,7 @@ jobs:
path: ./ironfish-rust-nodejs

- name: Install dependencies
run: npm install
run: npm install --no-workspaces
working-directory: ./ironfish-rust-nodejs

- name: Run tests in Docker
Expand Down Expand Up @@ -206,7 +206,7 @@ jobs:
cache: yarn

- name: Install dependencies
run: npm install
run: npm install --no-workspaces

- name: Download all artifacts
uses: actions/download-artifact@v2
Expand Down

0 comments on commit ba7b2ce

Please sign in to comment.