Skip to content

Commit

Permalink
Run ARM integration tests in Cirrus
Browse files Browse the repository at this point in the history
  • Loading branch information
romanz committed Jun 30, 2023
1 parent e1f0778 commit 50312bc
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,21 @@ task:
- cargo clippy -- -D warnings
- cargo fmt --all -- --check
before_cache_script: rm -rf $CARGO_HOME/registry/index


task:
compute_engine_instance:
image_project: cirrus-images
image: family/docker-builder-arm64
architecture: arm64
platform: linux
cpu: 4
memory: 4G

name: integration [ARM]
env:
CIRRUS_ARCH: arm64
build_script:
- docker build --build-arg=ARCH=aarch64 -f Dockerfile.ci . --rm -t electrs:tests
test_script:
- docker run -v $PWD/contrib/:/contrib -v $PWD/tests/:/tests --rm electrs:tests bash /tests/run.sh

0 comments on commit 50312bc

Please sign in to comment.