Fix Inconsistent Docker Image Naming #342
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
name: mac | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
test: | |
runs-on: macos-latest | |
name: (${{ matrix.target }}, ${{ matrix.cfg_release_channel }}) | |
env: | |
CFG_RELEASE_CHANNEL: ${{ matrix.cfg_release_channel }} | |
strategy: | |
fail-fast: false | |
matrix: | |
target: [ | |
aarch64-apple-darwin, | |
] | |
cfg_release_channel: [nightly, stable] | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
# Run build | |
- name: install rustup | |
run: | | |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > rustup-init.sh | |
sh rustup-init.sh -y --default-toolchain none | |
rustup target add ${{ matrix.target }} | |
- name: install docker | |
run: | | |
brew install docker | |
colima start | |
- name: Build and Test | |
run: ./.ci/build_and_test.sh |