-
-
Notifications
You must be signed in to change notification settings - Fork 99
75 lines (67 loc) · 1.85 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
name: CI-build
on: [push, pull_request]
jobs:
linux:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Configure
uses: ./.github/actions/configure-linux
- name: Build
run: make -j 2
linux-without-ffmpeg:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Configure
uses: ./.github/actions/configure-linux
with:
configure_options: --without-ffmpeg
- name: Build
run: make -j 2
mac-osx-x64:
runs-on: macos-12
steps:
- uses: actions/checkout@v3
- name: Build
uses: ./.github/actions/build-mac-osx
with:
vcpkg_installed_folder: installed-x64-osx
vcpkg_arch: x64
xcode_arch: x86_64
mac-osx-arm:
runs-on: macos-12
steps:
- uses: actions/checkout@v3
- name: Build
uses: ./.github/actions/build-mac-osx
with:
vcpkg_installed_folder: installed-arm64-osx
vcpkg_arch: arm
xcode_arch: arm64
windows-x64:
runs-on: windows-2022
steps:
- uses: actions/checkout@v3
- name: Build
uses: ./.github/actions/build-windows
with:
platform: x64
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@v3
- name: Build
uses: ./.github/actions/build-windows
with:
platform: x86
vcpkg_installed_folder: installed-x86-windows
- name: Run Tests
uses: ./.github/actions/run-tests
with:
test_application_path: VisualStudio/Release/Tests.exe