Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: test using depot instead of buildjet #1047

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ jobs:
smoke-test:
needs: [run_checker, composer, conductor, sequencer, sequencer-relayer, evm-bridge-withdrawer, cli]
if: (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == 'astriaorg/astria') && (github.event_name == 'merge_group' || needs.run_checker.outputs.run_docker == 'true')
runs-on: buildjet-8vcpu-ubuntu-2204
runs-on: depot-ubuntu-22.04-8
steps:
- uses: actions/checkout@v4
- name: Install just
Expand Down Expand Up @@ -169,7 +169,7 @@ jobs:
smoke-cli:
needs: [run_checker, composer, conductor, sequencer, sequencer-relayer, evm-bridge-withdrawer, cli]
if: (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == 'astriaorg/astria') && (github.event_name == 'merge_group' || needs.run_checker.outputs.run_docker == 'true')
runs-on: buildjet-8vcpu-ubuntu-2204
runs-on: depot-ubuntu-22.04-8
steps:
- uses: actions/checkout@v4
- name: Install just
Expand Down Expand Up @@ -201,7 +201,7 @@ jobs:
ibc-bridge-test:
needs: [ run_checker, composer, conductor, sequencer, sequencer-relayer, evm-bridge-withdrawer, cli ]
if: (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == 'astriaorg/astria') && (github.event_name == 'merge_group' || needs.run_checker.outputs.run_docker == 'true')
runs-on: buildjet-8vcpu-ubuntu-2204
runs-on: depot-ubuntu-22.04-8
steps:
- uses: actions/checkout@v4
- name: Install just
Expand Down Expand Up @@ -233,7 +233,7 @@ jobs:
ibc-no-native-asset-test:
needs: [ run_checker, composer, conductor, sequencer, sequencer-relayer, evm-bridge-withdrawer, cli ]
if: (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == 'astriaorg/astria') && (github.event_name == 'merge_group' || needs.run_checker.outputs.run_docker == 'true')
runs-on: buildjet-8vcpu-ubuntu-2204
runs-on: depot-ubuntu-22.04-8
steps:
- uses: actions/checkout@v4
- name: Install just
Expand Down Expand Up @@ -265,7 +265,7 @@ jobs:
ibc-timeout-refund:
needs: [ run_checker, composer, conductor, sequencer, sequencer-relayer, evm-bridge-withdrawer, cli ]
if: (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == 'astriaorg/astria') && (github.event_name == 'merge_group' || needs.run_checker.outputs.run_docker == 'true')
runs-on: buildjet-8vcpu-ubuntu-2204
runs-on: depot-ubuntu-22.04-8
steps:
- uses: actions/checkout@v4
- name: Install just
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
matrix:
include:
- target: x86_64-unknown-linux-gnu
os: buildjet-4vcpu-ubuntu-2004
os: depot-ubuntu-22.04-4
build-tool: cargo
- target: aarch64-apple-darwin
os: macos-latest
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
fi

compiles:
runs-on: buildjet-4vcpu-ubuntu-2204
runs-on: depot-ubuntu-22.04-4
needs: run_checker
if: needs.run_checker.outputs.run_tests == 'true'
steps:
Expand Down Expand Up @@ -132,7 +132,7 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}

rust:
runs-on: buildjet-8vcpu-ubuntu-2204
runs-on: depot-ubuntu-22.04-8
needs: run_checker
if: needs.run_checker.outputs.run_tests == 'true'
steps:
Expand Down Expand Up @@ -162,7 +162,7 @@ jobs:
cargo nextest run --archive-file=archive.tar.zst

rust-ethereum:
runs-on: buildjet-8vcpu-ubuntu-2204
runs-on: depot-ubuntu-22.04-8
needs: run_checker
if: needs.run_checker.outputs.run_tests == 'true'
steps:
Expand All @@ -189,7 +189,7 @@ jobs:
cargo nextest run --package astria-bridge-withdrawer -- --include-ignored

doctest:
runs-on: buildjet-8vcpu-ubuntu-2204
runs-on: depot-ubuntu-22.04-8
needs: run_checker
if: needs.run_checker.outputs.run_tests == 'true'
steps:
Expand All @@ -210,7 +210,7 @@ jobs:
run: cargo test --doc --all-features

clippy:
runs-on: buildjet-8vcpu-ubuntu-2204
runs-on: depot-ubuntu-22.04-8
needs: run_checker
if: needs.run_checker.outputs.run_tests == 'true' && needs.run_checker.outputs.run_lint_rust == 'true'
steps:
Expand Down Expand Up @@ -241,7 +241,7 @@ jobs:
-- --warn clippy::pedantic --deny warnings

custom-lints:
runs-on: buildjet-8vcpu-ubuntu-2204
runs-on: depot-ubuntu-22.04-8
needs: run_checker
if: needs.run_checker.outputs.run_tests == 'true' && needs.run_checker.outputs.run_lint_rust == 'true'
steps:
Expand Down
Loading