Skip to content

feat(consensus): [CON-1324] Implement artifact pool bounds for equivo… #2688

feat(consensus): [CON-1324] Implement artifact pool bounds for equivo…

feat(consensus): [CON-1324] Implement artifact pool bounds for equivo… #2688

# Darwin tests on runners from https://namespace.so
name: test-namespace
on: [push]
# 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:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.ref_name != 'master' }}
jobs:
test-namespace:
runs-on: namespace-profile-darwin-small-cache # profile created in namespace console
steps:
- name: Install nsc
run: |
# A recent version is required for `nsc bazel cache setup`
curl -fsSL https://get.namespace.so/cloud/install.sh | sh -s -- --version 0.0.386
- 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" \
//rs/... //publish/binaries/...