fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
974 B36 linesraw
1name: mac
2on:
3  push:
4    branches:
5      - master
6  pull_request:
7
8jobs:
9  test:
10    # https://help.github.com/en/actions/automating-your-workflow-with-github-actions/virtual-environments-for-github-hosted-runners#supported-runners-and-hardware-resources
11    # macOS Catalina 10.15
12    runs-on: macos-latest
13    name: (${{ matrix.target }}, ${{ matrix.cfg_release_channel }})
14    env:
15      CFG_RELEASE_CHANNEL: ${{ matrix.cfg_release_channel }}
16    strategy:
17      fail-fast: false
18      matrix:
19        target: [
20          x86_64-apple-darwin,
21        ]
22        cfg_release_channel: [nightly, stable]
23
24    steps:
25    - name: checkout
26      uses: actions/checkout@v3
27
28      # Run build
29    - name: install rustup
30      run: |
31        curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > rustup-init.sh
32        sh rustup-init.sh -y --default-toolchain none
33        rustup target add ${{ matrix.target }}
34
35    - name: Build and Test
36      run: ./ci/build_and_test.sh