-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathconfig.yml
60 lines (57 loc) · 1.68 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
version: 2.1
commands:
brew-install:
description: "Brew install MacOS dependencies (or restore from cache)"
steps:
- run: make install-dependencies
build-and-test:
steps:
- run: make --keep-going --jobs 16 CXXFLAGS_EXTRA="-Werror"
- run: make --keep-going --jobs 16 CXXFLAGS_EXTRA="-Werror" test
- run: make --keep-going --jobs 16 CXXFLAGS_EXTRA="-Werror" check
- run: make --keep-going --jobs 16 CXXFLAGS_EXTRA="-Werror" test-graphics
- run: make package
- store_artifacts:
path: .build/package/
jobs:
build-macos:
macos:
xcode: "15.4.0"
environment:
HOMEBREW_NO_AUTO_UPDATE: 1
WARN_EXTRA: "-isystem /opt/homebrew/include"
steps:
- checkout
- brew-install
- build-and-test
build-linux-gcc:
docker:
- image: outpostuniverse/nas2d-gcc:1.5
environment:
WARN_EXTRA: "-Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wuseless-cast -Weffc++"
steps:
- checkout
- build-and-test
build-linux-clang:
docker:
- image: outpostuniverse/nas2d-clang:1.4
environment:
WARN_EXTRA: "-Wdocumentation -Wdocumentation-unknown-command -Wcomma -Winconsistent-missing-destructor-override -Wmissing-prototypes -Wctad-maybe-unsupported -Wimplicit-int-float-conversion -Wsign-conversion"
steps:
- checkout
- build-and-test
build-linux-mingw:
docker:
- image: outpostuniverse/nas2d-mingw:1.10
environment:
WARN_EXTRA: "-Wno-redundant-decls"
steps:
- checkout
- build-and-test
workflows:
build_and_test:
jobs:
- build-macos
- build-linux-gcc
- build-linux-clang
- build-linux-mingw