Skip to content

Commit

Permalink
Only ruby/ruby repository runs on macos-arm-oss [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Oct 13, 2023
1 parent 35edc14 commit 511571b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,9 @@ jobs:
make:
strategy:
matrix:
include:
- test_task: 'check'
os: 'macos-11'
configure: ''
- test_task: 'check'
os: 'macos-12'
configure: '--enable-shared'
- test_task: 'check'
os: 'macos-arm-oss'
configure: ''
test_task: ['check']
configure: ['']
os: ${{ fromJSON(format('["macos-11","macos-12"{0}]', (github.repository == 'ruby/ruby' && ',"macos-arm-oss"' || ''))) }}
fail-fast: false

env:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/yjit-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ jobs:
runs-on: macos-arm-oss

if: >-
${{!(false
${{github.repository == 'ruby/ruby' &&
!(false
|| contains(github.event.head_commit.message, '[DOC]')
|| contains(github.event.pull_request.title, '[DOC]')
|| contains(github.event.pull_request.labels.*.name, 'Documentation')
Expand Down

0 comments on commit 511571b

Please sign in to comment.