Commit f971a18 1 parent 9e8a28e commit f971a18 Copy full SHA for f971a18
File tree 1 file changed +31
-4
lines changed
1 file changed +31
-4
lines changed Original file line number Diff line number Diff line change @@ -3,13 +3,40 @@ name: Build and Test
3
3
on : [push, pull_request]
4
4
5
5
jobs :
6
- build-and- test :
6
+ test :
7
7
runs-on : macos-12
8
8
steps :
9
9
- uses : actions/checkout@v4
10
10
with :
11
11
submodules : true
12
- - name : Build
13
- run : swift build -v
14
12
- name : Run tests
15
- run : swift test -v
13
+ run : swift test
14
+
15
+ build :
16
+ strategy :
17
+ matrix :
18
+ xcode-version : [ "11.7", "12.4" ]
19
+ package-scheme : [ "", "rootless" ]
20
+ # match release workflow
21
+ runs-on : macos-11
22
+ steps :
23
+ - uses : actions/checkout@v4
24
+ with :
25
+ submodules : true
26
+ path : orion
27
+ - name : Set Up Dependencies
28
+ run : |
29
+ brew install ldid make fakeroot
30
+ echo "THEOS=${GITHUB_WORKSPACE}/theos" >> "${GITHUB_ENV}"
31
+ echo "PATH=/usr/local/opt/make/libexec/gnubin:${PATH}" >> "${GITHUB_ENV}"
32
+ - name : Install Theos
33
+ uses : actions/checkout@v4
34
+ with :
35
+ repository : theos/theos
36
+ path : theos
37
+ submodules : recursive
38
+ - name : Build
39
+ run : |
40
+ cd orion
41
+ DEVELOPER_DIR=/Applications/Xcode_${{ matrix.xcode-version }}.app/Contents/Developer \
42
+ make THEOS_PACKAGE_SCHEME="${{ matrix.package-scheme }}"
You can’t perform that action at this time.
0 commit comments