Skip to content

Commit 35f293a

Browse files
committed
Add CI workflow for OAG binary build
1 parent 970e9d8 commit 35f293a

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

.github/workflows/oag_binary.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: OAG Binary
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
oag_binary_macos_build:
11+
name: Build with OAG binary on macOS
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
os: [macos-15]
16+
xcode-version: ["16.4"]
17+
runs-on: ${{ matrix.os }}
18+
env:
19+
OPENATTRIBUTEGRAPH_WERROR: 1
20+
OPENATTRIBUTEGRAPH_OPENATTRIBUTESHIMS_OAG_USE_BINARY: 1
21+
steps:
22+
- uses: actions/checkout@v4
23+
with:
24+
submodules: true
25+
- name: Setup Xcode
26+
uses: OpenSwiftUIProject/OpenSwiftUI/.github/actions/setup-xcode@main
27+
with:
28+
xcode-version: ${{ matrix.xcode-version }}
29+
- name: Build in debug mode
30+
run: swift build -c debug

0 commit comments

Comments
 (0)