-
Notifications
You must be signed in to change notification settings - Fork 10
106 lines (94 loc) · 2.66 KB
/
ci-scripts.yml
File metadata and controls
106 lines (94 loc) · 2.66 KB
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
name: Sequencer-Build
on:
push:
paths-ignore:
- 'documentation/*'
- '**/*.html'
- '**/*.md'
pull_request:
env:
SETUP_PATH: .ci-local
APT: re2c
CHOCO: re2c
BREW: re2c
jobs:
build:
name: ${{ matrix.name }}
runs-on: ${{ matrix.os }}
# Set environment variables from matrix parameters
env:
CMP: ${{ matrix.cmp }}
BCFG: ${{ matrix.configuration }}
BASE: ${{ matrix.base }}
BASE_RECURSIVE: no
CI_CROSS_TARGETS: ${{ matrix.cross }}
EXTRA: ${{ matrix.extra }}
TEST: ${{ matrix.test }}
VV: "1"
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
cmp: gcc
configuration: default
base: "7.0"
name: "Ub-22 gcc base-7.0"
- os: ubuntu-latest
cmp: clang
configuration: default
base: "7.0"
name: "Ub-22 clang base-7.0"
- os: ubuntu-latest
cmp: gcc
configuration: default
base: "3.15"
name: "Ub-22 gcc base-3.15"
- os: ubuntu-latest
cmp: gcc
configuration: default
base: "3.14"
name: "Ub-22 gcc base-3.14"
- os: ubuntu-latest
cmp: gcc
configuration: default
cross: "RTEMS-pc686-qemu@5"
base: "7.0"
name: "Ub-22 gcc + RT-5.1 pc686 base-7.0"
- os: macos-latest
cmp: clang
configuration: default
base: "7.0"
name: "MacOS clang base-7.0"
- os: windows-2022
cmp: vs2022
configuration: default
base: "7.0"
name: "Win-22 MSC22 base-7.0"
- os: windows-2022
cmp: vs2022
configuration: static
base: "7.0"
name: "Win-22 MSC22 base-7.0 static"
steps:
- uses: actions/checkout@v6
with:
submodules: true
- name: "apt-get install"
run: |
sudo apt-get update
sudo apt-get -y install re2c gdb libreadline-dev
if: runner.os == 'Linux'
- name: Automatic core dumper analysis
uses: mdavidsaver/ci-core-dumper@master
- name: Prepare and compile dependencies
run: python .ci/cue.py prepare
- name: Apply patches
run: patch -p1 -i ./seq-2.2.9-base707-fix.patch
- name: Build main module
run: python .ci/cue.py -T 60M build
- name: Run main module tests
run: python -m ci_core_dumper exec python .ci/cue.py -T 15M test
- name: Collect and show test results
if: ${{ always() }}
run: python .ci/cue.py -T 5M test-results