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(build-m2): pin rust toolchain on M2 runners 📌 #5287

Closed
wants to merge 6 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
13 changes: 13 additions & 0 deletions .github/workflows/_21_build_m2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,19 @@ jobs:
run: |
brew install protobuf

- name: print rust details before install
run: rustc -vV

- uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly-2024-02-04

- name: Set the default toolchain
run: rustup default nightly-2024-02-04

- name: print rust details after install
run: rustc -vV

# This is a workaround for the issue with Git ownership that prevents cargo from executing git commands to get commit hash for `--version`
- name: Configure Git 🛠️
run: git config --global --add safe.directory "${GITHUB_WORKSPACE}"
Expand Down
148 changes: 74 additions & 74 deletions .github/workflows/ci-development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,83 +10,83 @@ concurrency:
cancel-in-progress: true

jobs:
pre-check:
uses: ./.github/workflows/_01_pre_check.yml
secrets: inherit
force-version-bump:
uses: ./.github/workflows/_05_force_version_bump.yml
secrets: inherit
with:
network-to-check-against: "sisyphos"
test:
uses: ./.github/workflows/_10_test.yml
secrets: inherit
coverage:
uses: ./.github/workflows/_11_coverage.yml
with:
test_features: runtime-benchmarks
secrets: inherit
build:
uses: ./.github/workflows/_20_build.yml
secrets: inherit
with:
profile: "release"
# pre-check:
# uses: ./.github/workflows/_01_pre_check.yml
# secrets: inherit
# force-version-bump:
# uses: ./.github/workflows/_05_force_version_bump.yml
# secrets: inherit
# with:
# network-to-check-against: "sisyphos"
# test:
# uses: ./.github/workflows/_10_test.yml
# secrets: inherit
# coverage:
# uses: ./.github/workflows/_11_coverage.yml
# with:
# test_features: runtime-benchmarks
# secrets: inherit
# build:
# uses: ./.github/workflows/_20_build.yml
# secrets: inherit
# with:
# profile: "release"
build-m2:
uses: ./.github/workflows/_21_build_m2.yml
secrets: inherit
with:
profile: "release"
# Used to test upgrades to this version from the latest release
build-try-runtime:
uses: ./.github/workflows/_20_build.yml
secrets: inherit
with:
profile: "try-runtime"
upload-name: "chainflip-backend-bin-try-runtime"
binary-subdir: release
build-benchmarks:
uses: ./.github/workflows/_20_build.yml
secrets: inherit
with:
profile: "benchmarks"
upload-name: "chainflip-backend-bin-benchmarks"
binary-subdir: release
docker:
needs: [build]
uses: ./.github/workflows/_24_docker.yml
secrets: inherit
with:
network: "test"
environment: "development"
package:
needs: [build]
uses: ./.github/workflows/_25_package.yml
with:
network: "test"
secrets: inherit
post-check:
needs: [build]
uses: ./.github/workflows/_40_post_check.yml
secrets: inherit
with:
full_bouncer: false
ngrok: true
test-benchmarks:
needs: [build-benchmarks]
uses: ./.github/workflows/_41_test_benchmarks.yml
upgrade-check:
needs: [build-try-runtime]
uses: ./.github/workflows/upgrade-test.yml
secrets: inherit
with:
run-job: false
publish:
needs: [package]
uses: ./.github/workflows/_30_publish.yml
with:
version: ci/${{ github.sha }}/
environment: "development"
secrets: inherit
merge-commit-summary:
needs: [publish]
uses: ./.github/workflows/_04_merge_commit_summary.yml
# build-try-runtime:
# uses: ./.github/workflows/_20_build.yml
# secrets: inherit
# with:
# profile: "try-runtime"
# upload-name: "chainflip-backend-bin-try-runtime"
# binary-subdir: release
# build-benchmarks:
# uses: ./.github/workflows/_20_build.yml
# secrets: inherit
# with:
# profile: "benchmarks"
# upload-name: "chainflip-backend-bin-benchmarks"
# binary-subdir: release
# docker:
# needs: [build]
# uses: ./.github/workflows/_24_docker.yml
# secrets: inherit
# with:
# network: "test"
# environment: "development"
# package:
# needs: [build]
# uses: ./.github/workflows/_25_package.yml
# with:
# network: "test"
# secrets: inherit
# post-check:
# needs: [build]
# uses: ./.github/workflows/_40_post_check.yml
# secrets: inherit
# with:
# full_bouncer: false
# ngrok: true
# test-benchmarks:
# needs: [build-benchmarks]
# uses: ./.github/workflows/_41_test_benchmarks.yml
# upgrade-check:
# needs: [build-try-runtime]
# uses: ./.github/workflows/upgrade-test.yml
# secrets: inherit
# with:
# run-job: false
# publish:
# needs: [package]
# uses: ./.github/workflows/_30_publish.yml
# with:
# version: ci/${{ github.sha }}/
# environment: "development"
# secrets: inherit
# merge-commit-summary:
# needs: [publish]
# uses: ./.github/workflows/_04_merge_commit_summary.yml