Skip to content

Commit

Permalink
ci: update ci and add xtask testing
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriele-0201 committed Feb 15, 2024
1 parent 95b05a3 commit ef13dcf
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ jobs:
run: cargo build --verbose --all
- name: cargo test
run: cargo test --verbose --all
- name: cargo xtask test
run: cargo xtask test
docker_build:
name: docker build
runs-on: self-hosted
Expand Down
11 changes: 10 additions & 1 deletion docker/gha-runner.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

FROM rodnymolina588/gha-sysbox-runner@sha256:d10a36f2da30aa0df71d1ac062cc79fc5114eec7b6ae8a0c42cadf568e6eefa8

ARG RUSTC_VERSION=nightly-2023-10-16
ARG RUSTC_VERSION=stable

LABEL org.opencontainers.image.source=https://github.com/thrumdev/blobs

Expand Down Expand Up @@ -44,3 +44,12 @@ RUN curl \
| bash
RUN cargo binstall --no-confirm --no-symlinks cargo-risczero
RUN cargo risczero install

# Install Zombienet and copy Polkadot binaries, which are all required for xtask tests
RUN curl -sL https://deb.nodesource.com/setup_20.x | bash -
RUN apt-get install -y nodejs multitail
RUN npm install -g @zombienet/cli

COPY --from=parity/polkadot:v1.6.0 /usr/bin/polkadot /usr/bin/
COPY --from=parity/polkadot:v1.6.0 /usr/lib/polkadot/polkadot-prepare-worker /usr/bin/
COPY --from=parity/polkadot:v1.6.0 /usr/lib/polkadot/polkadot-execute-worker /usr/bin/

0 comments on commit ef13dcf

Please sign in to comment.