-
Notifications
You must be signed in to change notification settings - Fork 0
82 lines (67 loc) · 2.57 KB
/
build-osx.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
name: Build (OSX)
on:
push:
branches: [ "main", "stable" ]
pull_request:
branches: [ "main", "stable" ]
jobs:
build:
runs-on: macos-latest
strategy:
matrix:
dotnet-version: [ '7.0.x' ]
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core SDK ${{ matrix.dotnet-version }}
uses: actions/[email protected]
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Build (release)
run: bash workflow-build.sh release
- name: 'Publish build artifact (assemblies net472)'
uses: actions/upload-artifact@v3
with:
name: OSX Assemblies (net472)
path: PX Framework/Build/Assemblies/net472
- name: 'Publish build artifact (assemblies net7.0)'
uses: actions/upload-artifact@v3
with:
name: OSX Assemblies (net7.0)
path: PX Framework/Build/Assemblies/net7.0
- name: 'Publish build artifact (Unity files)'
uses: actions/upload-artifact@v3
with:
name: Unity Support Assets
path: PX Framework/Build/Unity/Complete
- name: 'Publish build artifact (XML documentation)'
uses: actions/upload-artifact@v3
with:
name: XML Documentation
path: PX Framework/Build/Documentation
- name: 'Publish build artifact (template project)'
uses: actions/upload-artifact@v3
with:
name: Example Template Project (OSX Host)
path: PX Framework/Build/Project Template/PhoenixExample
- name: Build (debug)
run: bash workflow-build.sh debug
- name: 'Publish build artifact (assemblies net472, debug)'
uses: actions/upload-artifact@v3
with:
name: OSX Assemblies (net472, debug)
path: PX Framework/Build/Assemblies/net472
- name: 'Publish build artifact (assemblies net7.0, debug)'
uses: actions/upload-artifact@v3
with:
name: OSX Assemblies (net7.0, debug)
path: PX Framework/Build/Assemblies/net7.0
- name: 'Publish build artifact (Unity files, debug)'
uses: actions/upload-artifact@v3
with:
name: Unity Support Assets (Debug)
path: PX Framework/Build/Unity/Complete
- name: 'Publish build artifact (template project, debug)'
uses: actions/upload-artifact@v3
with:
name: Example Template Project (OSX Host, Debug)
path: PX Framework/Build/Project Template/PhoenixExample