-
Notifications
You must be signed in to change notification settings - Fork 1
35 lines (29 loc) · 799 Bytes
/
macos-ci.yml
File metadata and controls
35 lines (29 loc) · 799 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: macOS CI
on:
push:
branches: [main]
paths:
- macos/**
- .github/workflows/macos-ci.yml
pull_request:
branches: [main]
paths:
- macos/**
- .github/workflows/macos-ci.yml
jobs:
macos-build-and-test:
runs-on: macos-latest
defaults:
run:
working-directory: macos
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
env:
XCODE_FLAGS: "CODE_SIGNING_ALLOWED=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY="
run: make build CONFIG=Debug DEST="platform=macOS,arch=arm64"
- name: Test
env:
XCODE_FLAGS: "CODE_SIGNING_ALLOWED=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY="
run: make test CONFIG=Debug DEST="platform=macOS,arch=arm64"