-
-
Notifications
You must be signed in to change notification settings - Fork 101
87 lines (77 loc) · 2.14 KB
/
ci-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
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
87
name: CI-build
on: [push, pull_request]
jobs:
linux:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Configure
uses: ./.github/actions/configure-linux
- name: Build
run: make -j $(nproc)
linux-without-ffmpeg:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Configure
uses: ./.github/actions/configure-linux
with:
configure_options: --without-ffmpeg
- name: Build
run: make -j $(nproc)
linux-without-opengl:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Configure
uses: ./.github/actions/configure-linux
with:
configure_options: --disable-opengl
- name: Build
run: make -j $(nproc)
mac-osx-x64:
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- name: Build
uses: ./.github/actions/build-mac-osx
with:
xcode_arch: x86_64
xcode_targets: "Aleph One"
mac-osx-arm:
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- name: Build
uses: ./.github/actions/build-mac-osx
with:
xcode_arch: arm64
xcode_targets: "Aleph One"
windows-x64:
runs-on: windows-2022
steps:
- uses: actions/checkout@v4
- name: Build
uses: ./.github/actions/build-windows
with:
platform: x64
configurations: Release
vcpkg_installed_folder: installed-x64-windows
- name: Run Tests
uses: ./.github/actions/run-tests
with:
test_application_path: VisualStudio/x64/Release/Tests.exe
windows-x86:
runs-on: windows-2022
steps:
- uses: actions/checkout@v4
- name: Build
uses: ./.github/actions/build-windows
with:
platform: x86
configurations: Release
vcpkg_installed_folder: installed-x86-windows
- name: Run Tests
uses: ./.github/actions/run-tests
with:
test_application_path: VisualStudio/Release/Tests.exe