-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
.razorops.yaml
68 lines (63 loc) · 1.86 KB
/
.razorops.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
version: v2
tasks:
test:
containers:
- image: srzzumix/gcc3:centos5
steps:
- checkout
- commands:
# gcc 3 is not support UTF8-BOM
- find . -type f \( -name \*.hpp -or -name \*.cpp -or -name \*.ipp \) -exec sed -i -e '1s/^\xEF\xBB\xBF//' {} \;
- cd test
- make showcxxversion showcxxmacros
- make
- make test
- make report
# Note:
# Failed to check if bucket(throbbing-shape-1474) exists: Missing fields in request.
# bucket throbbing-shape-1474: Missing fields in request.
# - reports/junit:
# paths: [ "test/*.xml" ]
# # g++: fatal error: Killed signal terminated program cc1plus
# gcc-fanalyzer:
# steps:
# - checkout
# - commands:
# - export GCC_VERSION="11"
# - ./.ci/linux/install-gcc.sh
# - commands:
# - export GGC_MIN_EXPAND=10
# - export GGC_MIN_HEAPSIZE=32768
# - export DEFS="-fanalyzer -Wno-analyzer-possible-null-argument -Wno-analyzer-possible-null-dereference"
# - make -C test clean
# - make -C test showcxxversion
# - make -C test showcxxmacros
# - make -C test check_stdlib
# - make -C test -j1
# - make -C test test
lint-editorconfig:
steps:
- checkout
# - cache/pull:
# key: npm-cache-[[ checksum "package-lock.json" ]]
# fallback_key: npm-cache-
- commands:
- npm install
- npm run lint:editorconfig
# - cache/push:
# key: npm-cache-[[ checksum "package-lock.json" ]]
# paths: [node_modules]
trigger:
when: branch in ('master', 'develop') || branch =~ 'razorops.*'
# Note:
# workflows seems to be unsupported GitHub Checks
workflows:
- name: gcc3-test
tasks:
- test
# - name: gcc-fanalyzer
# tasks:
# - gcc-fanalyzer
- name: lint
tasks:
- lint-editorconfig