-
Notifications
You must be signed in to change notification settings - Fork 1
35 lines (32 loc) · 1.07 KB
/
build.yml
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
35
name: Build bionic.js Swift
on:
push:
branches:
- 'main'
tags-ignore:
- 'release/**'
# Allows to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build_and_test:
strategy:
matrix:
include:
- destination: 'platform=OS X'
xcode: '12.3'
- destination: 'platform=iOS Simulator,name=iPhone 8,OS=12.4'
xcode: '10.3'
- destination: 'platform=iOS Simulator,name=iPhone 8,OS=13.7'
xcode: '11.7'
- destination: 'platform=iOS Simulator,name=iPhone 8,OS=14.4'
xcode: '12.4'
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Build and test
run: |
sudo xcode-select -switch /Applications/Xcode_${xcode_version}.app
xcodebuild clean build test -workspace Bjs.xcworkspace -scheme Bjs -destination "${destination}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=NO
env:
destination: ${{ matrix.destination }}
xcode_version: ${{ matrix.xcode }}