File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change 12
12
osx-build :
13
13
name : Build macOS
14
14
runs-on : macos-latest
15
+ strategy :
16
+ matrix :
17
+ runtime : [ osx-x64, osx-arm64 ]
15
18
steps :
16
19
- uses : actions/checkout@v3
17
20
with :
@@ -27,15 +30,19 @@ jobs:
27
30
28
31
- name : Build
29
32
run : |
30
- dotnet build --configuration=MacRelease
33
+ dotnet build src/osx/Installer.Mac/*.csproj \
34
+ --configuration=MacRelease --no-self-contained \
35
+ --runtime=${{ matrix.runtime }}
31
36
32
37
- name : Run macOS unit tests
33
38
run : |
34
39
dotnet test --configuration=MacRelease
35
40
36
41
- name : Lay out payload and symbols
37
42
run : |
38
- src/osx/Installer.Mac/layout.sh --configuration=MacRelease --output=payload --symbol-output=symbols
43
+ src/osx/Installer.Mac/layout.sh \
44
+ --configuration=MacRelease --output=payload \
45
+ --symbol-output=symbols --runtime=${{ matrix.runtime }}
39
46
40
47
- name : Create keychain
41
48
env :
58
65
- name : Upload macOS artifacts
59
66
uses : actions/upload-artifact@v3
60
67
with :
61
- name : tmp.osx -build
68
+ name : tmp.${{ matrix.runtime }} -build
62
69
path : |
63
70
payload
64
71
symbols
You can’t perform that action at this time.
0 commit comments