-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "feat(ci): add native dependencies to the CI (dynamic docker) (#…
…726)" (#864) * Revert "feat(ci): add native dependencies to the CI (dynamic docker) (#726)" This reverts commit c1f680a. * fix: update compiler version in compiled feature contracts and fix gas
- Loading branch information
Showing
26 changed files
with
87 additions
and
734 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,11 +66,6 @@ jobs: | |
- uses: ./.github/actions/install_rust | ||
with: | ||
components: clippy | ||
|
||
- name: Set up Native Dependencies | ||
uses: ./.github/actions/setup-native-deps | ||
id: native-deps | ||
|
||
- uses: Swatinem/rust-cache@v2 | ||
with: | ||
prefix-key: "v0-rust-ubuntu-20.04" | ||
|
@@ -94,9 +89,6 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/install_rust | ||
- name: Set up Native Dependencies | ||
uses: ./.github/actions/setup-native-deps | ||
id: native-deps | ||
- uses: Swatinem/rust-cache@v2 | ||
- uses: Noelware/[email protected] | ||
with: | ||
|
@@ -108,23 +100,17 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/install_rust | ||
- name: Set up Native Dependencies | ||
uses: ./.github/actions/setup-native-deps | ||
id: native-deps | ||
- uses: Swatinem/rust-cache@v2 | ||
- run: cargo test -p workspace_tests | ||
|
||
run-tests: | ||
runs-on: starkware-ubuntu-latest-large | ||
runs-on: starkware-ubuntu-20-04-medium | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
# Fetch the entire history. | ||
fetch-depth: 0 | ||
- uses: ./.github/actions/install_rust | ||
- name: Set up Native Dependencies | ||
uses: ./.github/actions/setup-native-deps | ||
id: native-deps | ||
- uses: Noelware/[email protected] | ||
- uses: Swatinem/rust-cache@v2 | ||
with: | ||
|
@@ -189,9 +175,6 @@ jobs: | |
- uses: Noelware/[email protected] | ||
with: | ||
version: ${{env.PROTOC_VERSION}} | ||
- name: Set up Native Dependencies | ||
uses: ./.github/actions/setup-native-deps | ||
id: native-deps | ||
- run: cargo check --workspace -r --all-features | ||
|
||
merge-gatekeeper: | ||
|
@@ -207,7 +190,7 @@ jobs: | |
uses: upsidr/merge-gatekeeper@v1 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
timeout: 1500 | ||
timeout: 1200 | ||
interval: 30 | ||
ignored: "code-review/reviewable" | ||
|
||
|
@@ -217,7 +200,7 @@ jobs: | |
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
ref: ${{github.ref}} | ||
timeout: 1500 | ||
timeout: 1200 | ||
interval: 30 | ||
ignored: "code-review/reviewable" | ||
|
||
|
@@ -233,9 +216,6 @@ jobs: | |
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y clang llvm libudev-dev | ||
- name: Set up Native Dependencies | ||
uses: ./.github/actions/setup-native-deps | ||
id: native-deps | ||
- uses: Noelware/[email protected] | ||
with: | ||
version: ${{env.PROTOC_VERSION}} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ name: Papyrus-CI | |
|
||
on: | ||
push: | ||
branches: [ main ] | ||
branches: [main] | ||
paths: | ||
- '.github/workflows/papyrus_ci.yml' | ||
- 'Dockerfile' | ||
|
@@ -31,7 +31,7 @@ on: | |
- 'crates/starknet_client/**' | ||
|
||
merge_group: | ||
types: [ checks_requested ] | ||
types: [checks_requested] | ||
|
||
# On PR events, cancel existing CI runs on this same PR for this workflow. | ||
concurrency: | ||
|
@@ -48,9 +48,6 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/install_rust | ||
- uses: Swatinem/rust-cache@v2 | ||
- name: Set up Native Dependencies | ||
uses: ./.github/actions/setup-native-deps | ||
id: native-deps | ||
- uses: Noelware/[email protected] | ||
with: | ||
version: ${{env.PROTOC_VERSION}} | ||
|
@@ -70,9 +67,6 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/install_rust | ||
- uses: Swatinem/rust-cache@v2 | ||
- name: Set up Native Dependencies | ||
uses: ./.github/actions/setup-native-deps | ||
id: native-deps | ||
- uses: Noelware/[email protected] | ||
with: | ||
version: ${{env.PROTOC_VERSION}} | ||
|
@@ -92,9 +86,6 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: dtolnay/rust-toolchain@stable | ||
- uses: Swatinem/rust-cache@v2 | ||
- name: Set up Native Dependencies | ||
uses: ./.github/actions/setup-native-deps | ||
id: native-deps | ||
- uses: Noelware/[email protected] | ||
with: | ||
version: ${{env.PROTOC_VERSION}} | ||
|
@@ -116,9 +107,6 @@ jobs: | |
- uses: Noelware/[email protected] | ||
with: | ||
version: ${{env.PROTOC_VERSION}} | ||
- name: Set up Native Dependencies | ||
uses: ./.github/actions/setup-native-deps | ||
id: native-deps | ||
- run: > | ||
cargo test -r | ||
--test latency_histogram | ||
|
@@ -134,9 +122,6 @@ jobs: | |
- uses: ./.github/actions/install_rust | ||
- uses: Swatinem/rust-cache@v2 | ||
- uses: Noelware/[email protected] | ||
- name: Set up Native Dependencies | ||
uses: ./.github/actions/setup-native-deps | ||
id: native-deps | ||
|
||
- run: | | ||
cargo test -p papyrus_node --no-default-features | ||
|
@@ -155,9 +140,7 @@ jobs: | |
- uses: Noelware/[email protected] | ||
with: | ||
version: ${{env.PROTOC_VERSION}} | ||
- name: Set up Native Dependencies | ||
uses: ./.github/actions/setup-native-deps | ||
id: native-deps | ||
|
||
- name: Install cargo-llvm-cov | ||
uses: taiki-e/install-action@cargo-llvm-cov | ||
- uses: Swatinem/rust-cache@v2 | ||
|
@@ -214,9 +197,6 @@ jobs: | |
target_directory: | ||
- 'crates/papyrus_storage/src/db/**' | ||
- uses: ./.github/actions/install_rust | ||
- name: Set up Native Dependencies | ||
uses: ./.github/actions/setup-native-deps | ||
id: native-deps | ||
- uses: Swatinem/rust-cache@v2 | ||
# repeat this job 32 times. this is a random test for part of the code that may cause a corrupted database. | ||
- run: for run in {1..32}; do cargo test -r -p papyrus_storage -- --include-ignored common_prefix_compare_with_simple_table_random; done | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,10 +44,6 @@ jobs: | |
|
||
- run: brew install protobuf@$PROTOC_VERSION | ||
|
||
- name: Set up Native Dependencies | ||
uses: ./.github/actions/setup-native-deps | ||
id: native-deps | ||
|
||
- name: Build node | ||
run: cargo build -r -p papyrus_node | ||
|
||
|
@@ -62,9 +58,6 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/install_rust | ||
- name: Set up Native Dependencies | ||
uses: ./.github/actions/setup-native-deps | ||
id: native-deps | ||
- uses: Swatinem/rust-cache@v2 | ||
- run: npm install -g [email protected] | ||
|
||
|
@@ -82,9 +75,6 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/install_rust | ||
- uses: Swatinem/rust-cache@v2 | ||
- name: Set up Native Dependencies | ||
uses: ./.github/actions/setup-native-deps | ||
id: native-deps | ||
- run: cargo build -r -p papyrus_load_test | ||
|
||
integration-test: | ||
|
@@ -94,9 +84,6 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/install_rust | ||
- uses: Swatinem/rust-cache@v2 | ||
- name: Set up Native Dependencies | ||
uses: ./.github/actions/setup-native-deps | ||
id: native-deps | ||
- run: > | ||
cargo test -r | ||
--test latency_histogram | ||
|
@@ -113,7 +100,4 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/install_rust | ||
- uses: Swatinem/rust-cache@v2 | ||
- name: Set up Native Dependencies | ||
uses: ./.github/actions/setup-native-deps | ||
id: native-deps | ||
- run: for run in {1..100}; do cargo test -r -p papyrus_storage -- --include-ignored common_prefix_compare_with_simple_table_random; done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.