Skip to content

Commit 10c9bb9

Browse files
br3akzerojohn-tornblom
authored andcommitted
ci: add macOS workflow
Runs on macos-latest after CI completes successfully. Builds with Homebrew curl and uploads arm64 artifact.
1 parent feb03c5 commit 10c9bb9

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

.github/workflows/ci.macos.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: CI macOS
2+
3+
on:
4+
workflow_run:
5+
workflows: ["CI"]
6+
types:
7+
- completed
8+
9+
concurrency:
10+
group: macos-${{ github.ref }}
11+
cancel-in-progress: true
12+
13+
jobs:
14+
build:
15+
runs-on: macos-latest
16+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
17+
steps:
18+
19+
- name: Checkout
20+
uses: actions/checkout@v3
21+
22+
- name: Install dependencies
23+
run: brew install curl
24+
25+
- name: Build macOS
26+
run: make -f Makefile.macos
27+
28+
- name: Upload macOS
29+
uses: actions/upload-artifact@v4
30+
with:
31+
name: macOS-arm64
32+
path: ./fetchpkg
33+
if-no-files-found: error

0 commit comments

Comments
 (0)