Skip to content

Commit

Permalink
chore: add runner for macos 13,14
Browse files Browse the repository at this point in the history
  • Loading branch information
everpcpc committed Aug 12, 2024
1 parent 309e526 commit 6c42545
Showing 1 changed file with 10 additions and 33 deletions.
43 changes: 10 additions & 33 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,37 +14,14 @@ jobs:
- name: Check formulae
run: brew test-bot --only-tap-syntax

# build_amd64:
# needs: check
# runs-on: macos-latest
# steps:
# - name: Set up Homebrew
# id: set-up-homebrew
# uses: Homebrew/actions/setup-homebrew@master
# - name: Cache Homebrew Bundler RubyGems
# id: cache
# uses: actions/cache@v3
# with:
# path: ${{ steps.set-up-homebrew.outputs.gems-path }}
# key: ${{ runner.os }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }}
# restore-keys: ${{ runner.os }}-rubygems-
# - name: Install Homebrew Bundler RubyGems
# if: steps.cache.outputs.cache-hit != 'true'
# run: brew install-bundler-gems
# - run: brew test-bot --only-cleanup-before
# - run: brew test-bot --only-setup
# - run: brew test-bot --only-tap-syntax
# - run: brew test-bot --only-formulae
# - name: Upload bottles as artifact
# if: always()
# uses: actions/upload-artifact@v3
# with:
# name: bottles
# path: '*.bottle.*'

build_arm64:
build:
needs: check
runs-on: [self-hosted, macOS, ARM64]
runs-on: ${{ matrix.runner }}
strategy:
matrix:
runner:
- macos-13
- macos-14
steps:
- name: Set up Homebrew
uses: Homebrew/actions/setup-homebrew@master
Expand All @@ -55,7 +32,7 @@ jobs:
- run: brew test-bot --only-formulae
- name: Upload bottles as artifact
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: bottles
path: '*.bottle.*'
name: bottles-${{ matrix.runner }}
path: "*.bottle.*"

0 comments on commit 6c42545

Please sign in to comment.