-
-
Notifications
You must be signed in to change notification settings - Fork 23
86 lines (86 loc) · 2.32 KB
/
build.yaml
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
83
84
85
86
name: Build
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build-linux:
name: Build Linux
runs-on: ubuntu-24.04
steps:
- name: Fix up git URLs
run: echo -e '[url "https://github.com/"]\n insteadOf = "[email protected]:"' >> ~/.gitconfig
shell: bash
- uses: actions/checkout@v1
with:
token: ${{ secrets.ACCESS_TOKEN }}
submodules: true
- name: "Run script"
run: |
export OS="linux"
source ./ci/setup-env.sh
source ./ci/test.sh
source ./ci/build.sh
shell: bash
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: Binaries
path: bin
retention-days: 7
build-macos:
name: Build macOS
runs-on: macos-latest
steps:
- name: Fix up git URLs
run: echo -e '[url "https://github.com/"]\n insteadOf = "[email protected]:"' >> ~/.gitconfig
shell: bash
- uses: actions/checkout@v1
with:
token: ${{ secrets.ACCESS_TOKEN }}
submodules: true
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest
- name: "Run script"
run: |
export OS="mac"
source ./ci/setup-env.sh
source ./ci/test.sh
source ./ci/build.sh
shell: bash
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: Binaries
path: bin
retention-days: 7
build-windows:
name: Build Windows
runs-on: windows-latest
steps:
- name: Fix up git URLs
run: echo -e '[url "https://github.com/"]\n insteadOf = "[email protected]:"' >> ~/.gitconfig
shell: bash
- uses: actions/checkout@v1
with:
token: ${{ secrets.ACCESS_TOKEN }}
submodules: true
- name: Setup NuGet.exe for use with actions
uses: NuGet/[email protected]
- name: NuGet Sources
run: nuget sources
- name: "Run script"
run: |
export OS="win"
source ./ci/setup-env.sh
source ./ci/test.sh
source ./ci/build.sh
shell: bash
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: Binaries
path: bin
retention-days: 7