diff options
| author | a-kenji <aks.kenji@protonmail.com> | 2022-03-17 14:00:48 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-17 14:00:48 +0100 |
| commit | ccd9a55a9b5c9f7e2295ce64085573a9cda33e2b (patch) | |
| tree | 5282eb415f38529a2ecb078c879f2443b3be044f /.github/workflows | |
| parent | docs(changelog): bump `nix` dependency (diff) | |
| download | sl0ppij-ccd9a55a9b5c9f7e2295ce64085573a9cda33e2b.tar.gz sl0ppij-ccd9a55a9b5c9f7e2295ce64085573a9cda33e2b.tar.xz sl0ppij-ccd9a55a9b5c9f7e2295ce64085573a9cda33e2b.zip | |
add(ci): install `cargo-make` through `nix` (#1233)
* add(ci): install `cargo-make` through `nix`
Should speed the e2e tests up by about 2 minutes.
Can easily reverted by `commenting/uncommenting`
the `run` part of the `Install cargo-make` step.
* check if cachix speeds the process up
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/e2e.yml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index fff090c6..a138126a 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -13,6 +13,7 @@ jobs: test: name: Build generic binary and run tests on it runs-on: ubuntu-latest + environment: cachix services: ssh: @@ -29,6 +30,11 @@ jobs: options: -v ${{ github.workspace }}/target:/usr/src/zellij --name ssh steps: - uses: actions/checkout@v3 + - uses: cachix/install-nix-action@v16 + - uses: cachix/cachix-action@v10 + with: + name: zellij + authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' - name: Add WASM target run: rustup target add wasm32-wasi - name: Install musl-tools @@ -36,7 +42,8 @@ jobs: - name: Add musl target run: rustup target add x86_64-unknown-linux-musl - name: Install cargo-make - run: cargo install --debug cargo-make + run: nix profile install nixpkgs#cargo-make + #run: cargo install --debug cargo-make - name: Build asset run: cargo make build-e2e # we copy this manually into the target folder instead of mounting it because |
