]> git.proxmox.com Git - rustc.git/blame_incremental - src/tools/rustfmt/.github/workflows/mac.yml
bump version to 1.80.1+dfsg1-1~bpo12+pve1
[rustc.git] / src / tools / rustfmt / .github / workflows / mac.yml
... / ...
CommitLineData
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