Skip to content

Commit ba68a52

Browse files
authored
Merge pull request #10 from actions-rust-lang/issue-9
2 parents 51b4f83 + 40e33d4 commit ba68a52

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ on:
88

99
jobs:
1010
install:
11-
name: Rust ${{matrix.rust}}
12-
runs-on: ubuntu-latest
11+
name: Rust ${{matrix.rust}} ${{matrix.os}}
12+
runs-on: ${{matrix.os}}
1313
strategy:
1414
fail-fast: false
1515
matrix:
@@ -23,6 +23,11 @@ jobs:
2323
"beta",
2424
"stable",
2525
]
26+
os: [
27+
"ubuntu-latest",
28+
"windows-latest",
29+
"macos-latest",
30+
]
2631
steps:
2732
- uses: actions/checkout@v3
2833
# Test toolchain file support

action.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,13 @@ outputs:
4444
runs:
4545
using: composite
4646
steps:
47+
# The later code uses "newer" bash features, which are not available in the ancient bash 3 (from 2014) of macOS
48+
- name: Unbork mac
49+
if: runner.os == 'macOS'
50+
run: |
51+
brew install bash
52+
shell: bash
53+
4754
- id: flags
4855
run: |
4956
: construct rustup command line

0 commit comments

Comments
 (0)