-
Notifications
You must be signed in to change notification settings - Fork 1
46 lines (35 loc) · 1.28 KB
/
osx-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
36
37
38
39
40
41
42
43
44
45
46
name: FTL Loader Build (OSX)
on:
push:
branches: [ "main", "stable" ]
pull_request:
branches: [ "main", "stable" ]
jobs:
build:
runs-on: macos-11
strategy:
matrix:
dotnet-version: [ '8.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: Setup project
run: bash feraltweaks-bootstrap/scripts/build-osx/setup.sh
- name: Compile FTL
run: bash feraltweaks-bootstrap/scripts/build-osx/ftl.sh
- name: 'Download and compile external lib: Funchook'
run: bash feraltweaks-bootstrap/scripts/build-osx/funchook.sh
- name: 'Download external lib: Doorstop'
run: bash feraltweaks-bootstrap/scripts/build-osx/doorstop.sh
- name: 'Download external lib: CoreCLR'
run: bash feraltweaks-bootstrap/scripts/build-osx/coreclr.sh
- name: Create package
run: bash feraltweaks-bootstrap/scripts/build-osx/package.sh
- name: Publish build artifact
uses: actions/upload-artifact@v3
with:
name: 'FeralTweaksLoader Latest (OSX)'
path: feraltweaks-bootstrap/build/package