Skip to content

Commit

Permalink
Update macOS runner configuration
Browse files Browse the repository at this point in the history
This should avoid the need to cross compile for macOS, though M1 runners
have only 7GB of RAM.
  • Loading branch information
bstaletic committed Apr 5, 2024
1 parent d839b3f commit 930d276
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions .github/workflows/package_llvm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,10 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: ./package_llvm.py --target-architecture ${{ matrix.target }} ${{ github.event.inputs.version }}

build-macos:
runs-on: macos-11
build-macos-x86:
runs-on: macos-13
strategy:
fail-fast: false
matrix:
target: [ x86_64, arm64 ]
steps:
- uses: actions/checkout@v4
- name: install requirements
Expand All @@ -44,4 +42,18 @@ jobs:
env:
GITHUB_USERNAME: ${{ github.actor }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: ./package_llvm.py --target-architecture ${{ matrix.target }} ${{ github.event.inputs.version }}
run: ./package_llvm.py --target-architecture x86_64 ${{ github.event.inputs.version }}

build-macos-arm64:
runs-on: macos-14
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v4
- name: install requirements
run: pip3 install -r requirements.txt
- name: Package
env:
GITHUB_USERNAME: ${{ github.actor }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: ./package_llvm.py --target-architecture arm64 ${{ github.event.inputs.version }}

0 comments on commit 930d276

Please sign in to comment.