Skip to content

Commit

Permalink
Separate artifacts for Mac builds
Browse files Browse the repository at this point in the history
  • Loading branch information
bvisness committed Dec 4, 2023
1 parent af4fa4c commit d73f4c6
Showing 1 changed file with 22 additions and 11 deletions.
33 changes: 22 additions & 11 deletions .github/workflows/build-tool.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ on: [push]
jobs:
build-win:
runs-on: windows-2022
env:
BUILD_OS: ${{ matrix.os }}
steps:
- name: Check out
uses: actions/checkout@v4
Expand All @@ -26,14 +24,27 @@ jobs:
with:
name: orca-win
path: build/bin/orca.exe

build-macos:
strategy:
matrix:
os:
- [macos-latest]
- [self-hosted, macos]
runs-on: ${{ matrix.os }}

build-macos-x64:
runs-on: macos-latest
steps:
- name: Check out
uses: actions/checkout@v4

- uses: actions/setup-python@v4
with:
python-version: '3.10'

- name: Build
run: ./orcadev build-tool

- uses: actions/upload-artifact@v3
with:
name: orca-mac-x64
path: build/bin/orca

build-macos-arm64:
runs-on: [self-hosted, macos]
steps:
- name: Check out
uses: actions/checkout@v4
Expand All @@ -47,5 +58,5 @@ jobs:

- uses: actions/upload-artifact@v3
with:
name: orca-mac
name: orca-mac-arm64
path: build/bin/orca

0 comments on commit d73f4c6

Please sign in to comment.