-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathconfig.yml
67 lines (64 loc) · 1.89 KB
/
config.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
version: 2.1
commands:
brew-install:
description: "Brew install MacOS dependencies (or restore from cache)"
steps:
- run: make --directory nas2d-core/ install-dependencies
build:
steps:
- run: make --keep-going --jobs 16 CXXFLAGS_EXTRA="-Werror" nas2d
- run: make --keep-going --jobs 16 CXXFLAGS_EXTRA="-Werror" ophd
- run: make --keep-going --jobs 16 CXXFLAGS_EXTRA="-Werror" testLibOPHD
- run: make --keep-going --jobs 16 CXXFLAGS_EXTRA="-Werror" testLibControls
- run: make --keep-going --jobs 16 CXXFLAGS_EXTRA="-Werror" checkOPHD
- run: make --keep-going --jobs 16 CXXFLAGS_EXTRA="-Werror" checkControls
- run: make package
- store_artifacts:
path: .build/package/
jobs:
build-macos:
macos:
xcode: "16.2.0"
environment:
HOMEBREW_NO_AUTO_UPDATE: 1
steps:
- checkout
- run: git submodule update --init nas2d-core/
- brew-install
- build
build-linux-gcc:
docker:
- image: ghcr.io/lairworks/build-env-nas2d-gcc:1.6
environment:
Toolchain: "gcc"
WARN_EXTRA: "-Wno-dangling-reference -Wno-useless-cast -Wno-effc++"
steps:
- checkout
- run: git submodule update --init nas2d-core/
- build
build-linux-clang:
docker:
- image: ghcr.io/lairworks/build-env-nas2d-clang:1.5
environment:
Toolchain: "clang"
steps:
- checkout
- run: git submodule update --init nas2d-core/
- build
build-linux-mingw:
docker:
- image: ghcr.io/lairworks/build-env-nas2d-mingw:1.13
environment:
Toolchain: "mingw"
WARN_EXTRA: "-Wno-dangling-reference -Wno-useless-cast -Wno-effc++"
steps:
- checkout
- run: git submodule update --init nas2d-core/
- build
workflows:
build:
jobs:
- build-macos
- build-linux-gcc
- build-linux-clang
- build-linux-mingw