feat(nervous-system): Enable Root to upgrade canisters using chunked Wasms #14597
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
# Darwin tests on runners from https://namespace.so | |
name: test-namespace | |
on: | |
push: | |
branches: | |
- master | |
- 'dev-gh-*' # used by developers to trigger CI runs without having to open a PR | |
pull_request: | |
merge_group: | |
# Ensure there's only one instance of this workflow for any PR/branch/tag, and | |
# cancel the previous one if necessary; except on master where we want to build | |
# every commit | |
concurrency: | |
# never scheduled so head_ref or ref will always be set (no run_id fallback) | |
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} | |
cancel-in-progress: ${{ github.ref_name != 'master' }} | |
jobs: | |
bazel-test-macos-apple-silicon: | |
name: Bazel Test macOS Apple Silicon | |
timeout-minutes: 120 | |
runs-on: namespace-profile-darwin # profile created in namespace console | |
if: ${{ github.repository == 'dfinity/ic' }} # only run on public repo, not private since Namespace runners are not configured there, so these CI jobs get stuck otherwise. | |
steps: | |
- name: Set up Bazel cache | |
run: | | |
# Creates a bazelrc configuration fragment which tells bazel where the cache lives. | |
nsc bazel cache setup --bazelrc=/tmp/bazel-cache.bazelrc | |
- uses: actions/checkout@v4 | |
# Build and test, excluding 'upload' jobs that are not required on macOS (used in reproducibility tests) | |
- name: Test | |
run: | | |
bazel \ | |
--noworkspace_rc \ | |
--bazelrc=./bazel/conf/.bazelrc.build --bazelrc=/tmp/bazel-cache.bazelrc \ | |
test \ | |
--config=ci --config=macos_ci \ | |
--test_tag_filters="test_macos,test_macos_slow,-upload" \ | |
//packages/pocket-ic/... //rs/... //publish/binaries/... |