17 Commits

Author SHA1 Message Date
Ralph Lange
fbbfced900 ci: add GHA builds for Base 3.15 and 3.14
Some checks failed
ci-scripts build/test / cross linux-arm@arm-linux-gnueabi / / default (push) Successful in 2m14s
ci-scripts build/test / cross linux-aarch64 / / default (push) Successful in 2m46s
ci-scripts build/test / cross linux-ppc / / default (push) Successful in 2m49s
ci-scripts build/test / cross linux-arm@arm-linux-gnueabihf / / default (push) Successful in 2m58s
ci-scripts build/test / cross linux-ppc64 / / default (push) Successful in 3m18s
ci-scripts build/test / cross RTEMS-pc386-qemu@4.10 / / default (push) Successful in 3m36s
ci-scripts build/test / cross RTEMS-pc386-qemu@4.9 / / default (push) Successful in 3m43s
ci-scripts build/test / cross win32-x86-mingw / / default (push) Successful in 3m26s
ci-scripts build/test / cross RTEMS-pc686-qemu@5 / / default (push) Successful in 4m28s
ci-scripts build/test / cross windows-x64-mingw / / default (push) Successful in 3m13s
ci-scripts build/test / B-7.0 clang debug @ ubuntu-24.04 (push) Has been cancelled
ci-scripts build/test / B-3.15 gcc default @ ubuntu-24.04 (push) Has been cancelled
ci-scripts build/test / B-3.15 gcc static @ ubuntu-24.04 (push) Has been cancelled
ci-scripts build/test / Unit tests on macos-14 (push) Has been cancelled
ci-scripts build/test / Unit tests on macos-15 (push) Has been cancelled
ci-scripts build/test / Unit tests on ubuntu-22.04 (push) Has been cancelled
ci-scripts build/test / Unit tests on ubuntu-24.04 (push) Has been cancelled
ci-scripts build/test / Unit tests on windows-2022 (push) Has been cancelled
ci-scripts build/test / Unit tests on windows-2025 (push) Has been cancelled
ci-scripts build/test / B-3.14 gcc default @ ubuntu-24.04 (push) Has been cancelled
ci-scripts build/test / B-7.0 clang debug @ ubuntu-22.04 (push) Has been cancelled
ci-scripts build/test / B-3.14 gcc static @ ubuntu-24.04 (push) Has been cancelled
ci-scripts build/test / B-7.0 clang default @ ubuntu-22.04 (push) Has been cancelled
ci-scripts build/test / B-7.0 clang default @ ubuntu-24.04 (push) Has been cancelled
ci-scripts build/test / B-7.0 clang static @ ubuntu-22.04 (push) Has been cancelled
ci-scripts build/test / B-7.0 clang static @ ubuntu-24.04 (push) Has been cancelled
ci-scripts build/test / B-7.0 clang static-debug @ ubuntu-22.04 (push) Has been cancelled
ci-scripts build/test / B-7.0 clang static-debug @ ubuntu-24.04 (push) Has been cancelled
ci-scripts build/test / B-7.0 gcc debug @ ubuntu-22.04 (push) Has been cancelled
ci-scripts build/test / B-7.0 gcc debug @ ubuntu-24.04 (push) Has been cancelled
ci-scripts build/test / B-7.0 gcc default @ ubuntu-22.04 (push) Has been cancelled
ci-scripts build/test / B-7.0 gcc default @ ubuntu-24.04 (push) Has been cancelled
ci-scripts build/test / B-7.0 gcc static @ ubuntu-22.04 (push) Has been cancelled
ci-scripts build/test / B-7.0 gcc static @ ubuntu-24.04 (push) Has been cancelled
ci-scripts build/test / B-7.0 clang default @ macos-15 (push) Has been cancelled
ci-scripts build/test / B-3.14 vs2022 static @ windows-2025 (push) Has been cancelled
ci-scripts build/test / B-3.15 vs2022 static @ windows-2025 (push) Has been cancelled
ci-scripts build/test / B-7.0 gcc debug @ windows-2025 (push) Has been cancelled
ci-scripts build/test / B-7.0 gcc static @ windows-2022 (push) Has been cancelled
ci-scripts build/test / B-7.0 gcc static @ windows-2025 (push) Has been cancelled
ci-scripts build/test / B-7.0 gcc static-debug @ windows-2022 (push) Has been cancelled
ci-scripts build/test / B-7.0 gcc static-debug @ windows-2025 (push) Has been cancelled
ci-scripts build/test / B-7.0 vs2022 debug @ windows-2022 (push) Has been cancelled
ci-scripts build/test / B-7.0 vs2022 default @ windows-2022 (push) Has been cancelled
ci-scripts build/test / B-7.0 vs2022 default @ windows-2025 (push) Has been cancelled
ci-scripts build/test / B-7.0 vs2022 static @ windows-2022 (push) Has been cancelled
ci-scripts build/test / B-7.0 gcc static-debug @ ubuntu-22.04 (push) Has been cancelled
ci-scripts build/test / B-7.0 gcc static-debug @ ubuntu-24.04 (push) Has been cancelled
ci-scripts build/test / B-3.15 clang default @ macos-15 (push) Has been cancelled
ci-scripts build/test / B-7.0 clang debug @ macos-14 (push) Has been cancelled
ci-scripts build/test / B-7.0 clang debug @ macos-15 (push) Has been cancelled
ci-scripts build/test / B-7.0 clang default @ macos-14 (push) Has been cancelled
ci-scripts build/test / B-7.0 gcc debug @ windows-2022 (push) Has been cancelled
ci-scripts build/test / B-7.0 gcc default @ windows-2022 (push) Has been cancelled
ci-scripts build/test / B-7.0 gcc default @ windows-2025 (push) Has been cancelled
ci-scripts build/test / B-7.0 vs2022 debug @ windows-2025 (push) Has been cancelled
ci-scripts build/test / B-7.0 vs2022 static @ windows-2025 (push) Has been cancelled
ci-scripts build/test / B-7.0 vs2022 static-debug @ windows-2022 (push) Has been cancelled
ci-scripts build/test / B-7.0 vs2022 static-debug @ windows-2025 (push) Has been cancelled
- caveat: 3.14 is not supported on MacOS @aarch64
2025-12-02 14:26:17 +01:00
Ralph Lange
d53ccd5b75 ci: fix 3.14 patch to remove readline dependency 2025-12-02 14:26:17 +01:00
Simon Rose
1244547af2 Skip using libreadline for base 3.14
In base 3.15 onwards we have checks for the existence of readline.h.
For base 3.14 we should just skip it.
2025-12-02 08:55:29 +01:00
Michael Davidsaver
261f218e09 use cpu_count when available
Some checks failed
ci-scripts build/test / cross linux-aarch64 / / default (push) Successful in 2m6s
ci-scripts build/test / cross RTEMS-pc386-qemu@4.10 / / default (push) Successful in 2m46s
ci-scripts build/test / cross RTEMS-pc386-qemu@4.9 / / default (push) Successful in 2m42s
ci-scripts build/test / cross linux-arm@arm-linux-gnueabi / / default (push) Successful in 2m17s
ci-scripts build/test / cross linux-arm@arm-linux-gnueabihf / / default (push) Successful in 2m42s
ci-scripts build/test / cross linux-ppc / / default (push) Successful in 3m11s
ci-scripts build/test / cross linux-ppc64 / / default (push) Successful in 2m8s
ci-scripts build/test / cross RTEMS-pc686-qemu@5 / / default (push) Successful in 4m26s
ci-scripts build/test / cross win32-x86-mingw / / default (push) Successful in 2m10s
ci-scripts build/test / cross windows-x64-mingw / / default (push) Successful in 2m19s
ci-scripts build/test / Unit tests on macos-14 (push) Has been cancelled
ci-scripts build/test / Unit tests on macos-15 (push) Has been cancelled
ci-scripts build/test / Unit tests on ubuntu-22.04 (push) Has been cancelled
ci-scripts build/test / Unit tests on ubuntu-24.04 (push) Has been cancelled
ci-scripts build/test / clang / debug / ubuntu-24.04 (push) Has been cancelled
ci-scripts build/test / clang / default / ubuntu-22.04 (push) Has been cancelled
ci-scripts build/test / clang / default / ubuntu-24.04 (push) Has been cancelled
ci-scripts build/test / clang / static / ubuntu-22.04 (push) Has been cancelled
ci-scripts build/test / clang / static / ubuntu-24.04 (push) Has been cancelled
ci-scripts build/test / clang / static-debug / ubuntu-22.04 (push) Has been cancelled
ci-scripts build/test / clang / static-debug / ubuntu-24.04 (push) Has been cancelled
ci-scripts build/test / gcc / debug / ubuntu-22.04 (push) Has been cancelled
ci-scripts build/test / gcc / static-debug / ubuntu-22.04 (push) Has been cancelled
ci-scripts build/test / gcc / static-debug / ubuntu-24.04 (push) Has been cancelled
ci-scripts build/test / clang / debug / macos-14 (push) Has been cancelled
ci-scripts build/test / clang / debug / macos-15 (push) Has been cancelled
ci-scripts build/test / clang / default / macos-14 (push) Has been cancelled
ci-scripts build/test / clang / default / macos-15 (push) Has been cancelled
ci-scripts build/test / gcc / debug / windows-2022 (push) Has been cancelled
ci-scripts build/test / gcc / debug / windows-2025 (push) Has been cancelled
ci-scripts build/test / gcc / default / windows-2022 (push) Has been cancelled
ci-scripts build/test / gcc / default / windows-2025 (push) Has been cancelled
ci-scripts build/test / vs2022 / static-debug / windows-2022 (push) Has been cancelled
ci-scripts build/test / vs2022 / static-debug / windows-2025 (push) Has been cancelled
ci-scripts build/test / Unit tests on windows-2022 (push) Has been cancelled
ci-scripts build/test / Unit tests on windows-2025 (push) Has been cancelled
ci-scripts build/test / clang / debug / ubuntu-22.04 (push) Has been cancelled
ci-scripts build/test / gcc / debug / ubuntu-24.04 (push) Has been cancelled
ci-scripts build/test / gcc / default / ubuntu-22.04 (push) Has been cancelled
ci-scripts build/test / gcc / default / ubuntu-24.04 (push) Has been cancelled
ci-scripts build/test / gcc / static / ubuntu-22.04 (push) Has been cancelled
ci-scripts build/test / gcc / static / ubuntu-24.04 (push) Has been cancelled
ci-scripts build/test / gcc / static / windows-2022 (push) Has been cancelled
ci-scripts build/test / gcc / static / windows-2025 (push) Has been cancelled
ci-scripts build/test / gcc / static-debug / windows-2022 (push) Has been cancelled
ci-scripts build/test / gcc / static-debug / windows-2025 (push) Has been cancelled
ci-scripts build/test / vs2022 / debug / windows-2022 (push) Has been cancelled
ci-scripts build/test / vs2022 / debug / windows-2025 (push) Has been cancelled
ci-scripts build/test / vs2022 / default / windows-2022 (push) Has been cancelled
ci-scripts build/test / vs2022 / default / windows-2025 (push) Has been cancelled
ci-scripts build/test / vs2022 / static / windows-2022 (push) Has been cancelled
ci-scripts build/test / vs2022 / static / windows-2025 (push) Has been cancelled
2025-11-18 10:41:49 +01:00
Ralph Lange
a096fe1b76 ci: remove macos-13 from GHA workflow
GitHub announcement:
The macOS 13 runner image will be retired by December 4th, 2025
2025-11-18 10:32:59 +01:00
Ralph Lange
63f979bf5c test: fix default branch name for MCoreUtils 2025-11-18 10:28:37 +01:00
Ralph Lange
4e4f33e54f ci: update GHA examples
Some checks failed
ci-scripts build/test / cross linux-aarch64 / / default (push) Successful in 2m56s
ci-scripts build/test / cross linux-arm@arm-linux-gnueabihf / / default (push) Successful in 2m52s
ci-scripts build/test / cross linux-arm@arm-linux-gnueabi / / default (push) Successful in 3m15s
ci-scripts build/test / cross RTEMS-pc386-qemu@4.9 / / default (push) Successful in 3m25s
ci-scripts build/test / cross RTEMS-pc386-qemu@4.10 / / default (push) Successful in 3m45s
ci-scripts build/test / cross linux-ppc64 / / default (push) Successful in 3m29s
ci-scripts build/test / cross linux-ppc / / default (push) Successful in 3m58s
ci-scripts build/test / cross windows-x64-mingw / / default (push) Successful in 4m25s
ci-scripts build/test / cross win32-x86-mingw / / default (push) Successful in 4m31s
ci-scripts build/test / cross RTEMS-pc686-qemu@5 / / default (push) Successful in 5m32s
ci-scripts build/test / Unit tests on macos-13 (push) Has been cancelled
ci-scripts build/test / Unit tests on macos-14 (push) Has been cancelled
ci-scripts build/test / Unit tests on macos-15 (push) Has been cancelled
ci-scripts build/test / Unit tests on ubuntu-22.04 (push) Has been cancelled
ci-scripts build/test / Unit tests on ubuntu-24.04 (push) Has been cancelled
ci-scripts build/test / Unit tests on windows-2022 (push) Has been cancelled
ci-scripts build/test / Unit tests on windows-2025 (push) Has been cancelled
ci-scripts build/test / clang / debug / ubuntu-22.04 (push) Has been cancelled
ci-scripts build/test / clang / debug / ubuntu-24.04 (push) Has been cancelled
ci-scripts build/test / clang / default / ubuntu-22.04 (push) Has been cancelled
ci-scripts build/test / clang / default / ubuntu-24.04 (push) Has been cancelled
ci-scripts build/test / clang / static / ubuntu-22.04 (push) Has been cancelled
ci-scripts build/test / clang / static / ubuntu-24.04 (push) Has been cancelled
ci-scripts build/test / clang / static-debug / ubuntu-22.04 (push) Has been cancelled
ci-scripts build/test / clang / static-debug / ubuntu-24.04 (push) Has been cancelled
ci-scripts build/test / gcc / debug / ubuntu-22.04 (push) Has been cancelled
ci-scripts build/test / gcc / debug / ubuntu-24.04 (push) Has been cancelled
ci-scripts build/test / gcc / default / ubuntu-22.04 (push) Has been cancelled
ci-scripts build/test / gcc / default / ubuntu-24.04 (push) Has been cancelled
ci-scripts build/test / gcc / static / ubuntu-22.04 (push) Has been cancelled
ci-scripts build/test / gcc / static / ubuntu-24.04 (push) Has been cancelled
ci-scripts build/test / gcc / static-debug / ubuntu-22.04 (push) Has been cancelled
ci-scripts build/test / gcc / static-debug / ubuntu-24.04 (push) Has been cancelled
ci-scripts build/test / clang / debug / macos-13 (push) Has been cancelled
ci-scripts build/test / clang / debug / macos-14 (push) Has been cancelled
ci-scripts build/test / clang / debug / macos-15 (push) Has been cancelled
ci-scripts build/test / clang / default / macos-13 (push) Has been cancelled
ci-scripts build/test / clang / default / macos-14 (push) Has been cancelled
ci-scripts build/test / clang / default / macos-15 (push) Has been cancelled
ci-scripts build/test / gcc / debug / windows-2022 (push) Has been cancelled
ci-scripts build/test / gcc / debug / windows-2025 (push) Has been cancelled
ci-scripts build/test / gcc / default / windows-2022 (push) Has been cancelled
ci-scripts build/test / gcc / default / windows-2025 (push) Has been cancelled
ci-scripts build/test / gcc / static / windows-2022 (push) Has been cancelled
ci-scripts build/test / gcc / static / windows-2025 (push) Has been cancelled
ci-scripts build/test / gcc / static-debug / windows-2022 (push) Has been cancelled
ci-scripts build/test / gcc / static-debug / windows-2025 (push) Has been cancelled
ci-scripts build/test / vs2022 / debug / windows-2022 (push) Has been cancelled
ci-scripts build/test / vs2022 / debug / windows-2025 (push) Has been cancelled
ci-scripts build/test / vs2022 / default / windows-2022 (push) Has been cancelled
ci-scripts build/test / vs2022 / default / windows-2025 (push) Has been cancelled
ci-scripts build/test / vs2022 / static / windows-2022 (push) Has been cancelled
ci-scripts build/test / vs2022 / static / windows-2025 (push) Has been cancelled
ci-scripts build/test / vs2022 / static-debug / windows-2022 (push) Has been cancelled
ci-scripts build/test / vs2022 / static-debug / windows-2025 (push) Has been cancelled
2025-08-28 17:21:12 +02:00
Ralph Lange
df2367fcd3 ci/test: change patch and its target to work on MacOS 2025-08-28 14:55:33 +02:00
Ralph Lange
3f77ee12af ci: bump GHA actions/checkout v3->v4 2025-08-28 10:23:43 +02:00
Ralph Lange
e952bb9cf4 ci: update GHA runners
- ubuntu: add 24.04; remove 20.04 and 18.04
- windows: add 2025; remove 2019
- macos: add 15, 14, 13; remove 12 and 11
2025-08-28 10:23:43 +02:00
Michael Davidsaver
fe1e31e527 more "" environment variable handling
Enforce equivalence between unset and set to empty string
for some more environment variables.

Also, stricter validation of $WINE
2025-08-28 09:44:26 +02:00
Ralph Lange
b2b4e777f7 ci: fix AppVeyor install configuration
- Chocolatey dropped the 'cinst' shortname
2025-01-04 16:10:29 +01:00
Ralph Lange
0e93b70855 Windows: set CHOCO=NO to not use chocolatey
- needed when using the MSYS2 shell
2024-07-22 13:57:39 +02:00
Minijackson
fe29811d26 add --add-env argument for appending to generic environment variables 2024-04-30 16:38:14 +09:00
Ralph Lange
dead44c3cb Merge pull request #92 from Insomnia1437/master
Some checks failed
ci-scripts build/test / cross linux-aarch64 / / default (push) Successful in 2m57s
ci-scripts build/test / cross linux-arm@arm-linux-gnueabihf / / default (push) Successful in 2m56s
ci-scripts build/test / cross linux-arm@arm-linux-gnueabi / / default (push) Successful in 3m22s
ci-scripts build/test / cross RTEMS-pc386-qemu@4.9 / / default (push) Successful in 3m32s
ci-scripts build/test / cross linux-ppc64 / / default (push) Successful in 3m31s
ci-scripts build/test / cross RTEMS-pc386-qemu@4.10 / / default (push) Successful in 3m55s
ci-scripts build/test / cross linux-ppc / / default (push) Successful in 4m5s
ci-scripts build/test / cross windows-x64-mingw / / default (push) Successful in 4m31s
ci-scripts build/test / cross win32-x86-mingw / / default (push) Successful in 4m44s
ci-scripts build/test / cross RTEMS-pc686-qemu@5 / / default (push) Successful in 5m54s
ci-scripts build/test / Unit tests on macos-11 (push) Has been cancelled
ci-scripts build/test / Unit tests on macos-12 (push) Has been cancelled
ci-scripts build/test / Unit tests on ubuntu-20.04 (push) Has been cancelled
ci-scripts build/test / Unit tests on ubuntu-22.04 (push) Has been cancelled
ci-scripts build/test / Unit tests on windows-2019 (push) Has been cancelled
ci-scripts build/test / Unit tests on windows-2022 (push) Has been cancelled
ci-scripts build/test / clang / debug / ubuntu-20.04 (push) Has been cancelled
ci-scripts build/test / clang / debug / ubuntu-22.04 (push) Has been cancelled
ci-scripts build/test / clang / default / ubuntu-20.04 (push) Has been cancelled
ci-scripts build/test / clang / default / ubuntu-22.04 (push) Has been cancelled
ci-scripts build/test / clang / static / ubuntu-20.04 (push) Has been cancelled
ci-scripts build/test / clang / static / ubuntu-22.04 (push) Has been cancelled
ci-scripts build/test / clang / static-debug / ubuntu-20.04 (push) Has been cancelled
ci-scripts build/test / clang / static-debug / ubuntu-22.04 (push) Has been cancelled
ci-scripts build/test / gcc / debug / ubuntu-20.04 (push) Has been cancelled
ci-scripts build/test / gcc / debug / ubuntu-22.04 (push) Has been cancelled
ci-scripts build/test / gcc / default / ubuntu-20.04 (push) Has been cancelled
ci-scripts build/test / gcc / default / ubuntu-22.04 (push) Has been cancelled
ci-scripts build/test / gcc / static / ubuntu-20.04 (push) Has been cancelled
ci-scripts build/test / gcc / static / ubuntu-22.04 (push) Has been cancelled
ci-scripts build/test / gcc / static-debug / ubuntu-20.04 (push) Has been cancelled
ci-scripts build/test / gcc / static-debug / ubuntu-22.04 (push) Has been cancelled
ci-scripts build/test / clang / debug / macos-11 (push) Has been cancelled
ci-scripts build/test / clang / debug / macos-12 (push) Has been cancelled
ci-scripts build/test / clang / default / macos-11 (push) Has been cancelled
ci-scripts build/test / clang / default / macos-12 (push) Has been cancelled
ci-scripts build/test / gcc / debug / windows-2019 (push) Has been cancelled
ci-scripts build/test / gcc / debug / windows-2022 (push) Has been cancelled
ci-scripts build/test / gcc / default / windows-2019 (push) Has been cancelled
ci-scripts build/test / gcc / default / windows-2022 (push) Has been cancelled
ci-scripts build/test / gcc / static / windows-2019 (push) Has been cancelled
ci-scripts build/test / gcc / static / windows-2022 (push) Has been cancelled
ci-scripts build/test / gcc / static-debug / windows-2019 (push) Has been cancelled
ci-scripts build/test / gcc / static-debug / windows-2022 (push) Has been cancelled
ci-scripts build/test / vs2019 / debug / windows-2019 (push) Has been cancelled
ci-scripts build/test / vs2019 / default / windows-2019 (push) Has been cancelled
ci-scripts build/test / vs2019 / static / windows-2019 (push) Has been cancelled
ci-scripts build/test / vs2019 / static-debug / windows-2019 (push) Has been cancelled
ci-scripts build/test / vs2022 / debug / windows-2022 (push) Has been cancelled
ci-scripts build/test / vs2022 / default / windows-2022 (push) Has been cancelled
ci-scripts build/test / vs2022 / static / windows-2022 (push) Has been cancelled
ci-scripts build/test / vs2022 / static-debug / windows-2022 (push) Has been cancelled
fix GHA example error and warning
2024-03-10 14:45:55 +01:00
DW
ca8fde2eaf fix GHA example error and warning 2024-03-10 11:50:21 +01:00
Michael Davidsaver
130e88b709 set TOP before processing --add-path
fix regression in dffe32c23e
2023-11-05 18:57:59 -08:00
10 changed files with 210 additions and 196 deletions

View File

@@ -45,9 +45,9 @@ skip_commits:
install: install:
# fetch submodules (like ci-scripts) # fetch submodules (like ci-scripts)
- cmd: git submodule update --init --recursive - git submodule update --init --recursive
# for the sequencer # for the sequencer
- cinst re2c - choco install re2c
#---------------------------------# #---------------------------------#
# build matrix configuration # # build matrix configuration #

View File

@@ -19,28 +19,54 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
os: [ubuntu-22.04, ubuntu-20.04, windows-2022, windows-2019, macos-12, macos-11] os: [ubuntu-24.04, ubuntu-22.04, windows-2025, windows-2022, macos-15, macos-14]
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Show initial environment - name: Show initial environment
run: python3 cue-test.py env run: python3 cue-test.py env
- name: Run unit tests - name: Run unit tests
run: python3 cue-test.py run: python3 cue-test.py
build-linux: build-linux:
name: ${{ matrix.cmp }} / ${{ matrix.configuration }} / ${{ matrix.os }} name: B-${{ matrix.base }} ${{ matrix.cmp }} ${{ matrix.configuration }} @ ${{ matrix.os }}
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
env: env:
CMP: ${{ matrix.cmp }} CMP: ${{ matrix.cmp }}
BCFG: ${{ matrix.configuration }} BCFG: ${{ matrix.configuration }}
BASE: ${{ matrix.base }}
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
os: [ubuntu-22.04, ubuntu-20.04] os: [ubuntu-24.04, ubuntu-22.04]
cmp: [gcc, clang] cmp: [gcc, clang]
configuration: [default, static, debug, static-debug] configuration: [default, static, debug, static-debug]
base: ["7.0"]
include:
- os: ubuntu-24.04
cmp: gcc
configuration: default
base: "3.15"
name: "B-3.15 Ub-24 gcc-13"
- os: ubuntu-24.04
cmp: gcc
configuration: static
base: "3.15"
name: "B-3.15 Ub-24 gcc-13, static"
- os: ubuntu-24.04
cmp: gcc
configuration: default
base: "3.14"
name: "B-3.14 Ub-24 gcc-13"
- os: ubuntu-24.04
cmp: gcc
configuration: static
base: "3.14"
name: "B-3.14 Ub-24 gcc-13, static"
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Prepare and compile dependencies - name: Prepare and compile dependencies
run: python cue.py prepare run: python cue.py prepare
- name: Build main module (example app) - name: Build main module (example app)
@@ -51,19 +77,34 @@ jobs:
run: python cue.py test-results run: python cue.py test-results
build-macos: build-macos:
name: ${{ matrix.cmp }} / ${{ matrix.configuration }} / ${{ matrix.os }} name: B-${{ matrix.base }} ${{ matrix.cmp }} ${{ matrix.configuration }} @ ${{ matrix.os }}
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
env: env:
CMP: ${{ matrix.cmp }} CMP: ${{ matrix.cmp }}
BCFG: ${{ matrix.configuration }} BCFG: ${{ matrix.configuration }}
BASE: ${{ matrix.base }}
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
os: [macos-12, macos-11] os: [macos-15, macos-14]
cmp: [clang] cmp: [clang]
configuration: [default, debug] configuration: [default, debug]
base: ["7.0"]
include:
- os: macos-15
cmp: clang
configuration: default
base: "3.15"
name: "B-3.15 Mac-15"
# Base 3.14 does not support MacOS-aarch64
# - os: macos-15
# cmp: clang
# configuration: default
# base: "3.14"
# name: "B-3.14 Mac-15"
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Prepare and compile dependencies - name: Prepare and compile dependencies
run: python cue.py prepare run: python cue.py prepare
- name: Build main module (example app) - name: Build main module (example app)
@@ -74,26 +115,33 @@ jobs:
run: python cue.py test-results run: python cue.py test-results
build-windows: build-windows:
name: ${{ matrix.cmp }} / ${{ matrix.configuration }} / ${{ matrix.os }} name: B-${{ matrix.base }} ${{ matrix.cmp }} ${{ matrix.configuration }} @ ${{ matrix.os }}
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
env: env:
CMP: ${{ matrix.cmp }} CMP: ${{ matrix.cmp }}
BCFG: ${{ matrix.configuration }} BCFG: ${{ matrix.configuration }}
BASE: ${{ matrix.base }}
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
os: [windows-2022, windows-2019] os: [windows-2025, windows-2022]
cmp: [gcc, vs2022, vs2019] cmp: [gcc, vs2022]
configuration: [default, static, debug, static-debug] configuration: [default, static, debug, static-debug]
exclude: base: [ "7.0" ]
- os: windows-2022 include:
cmp: vs2019 - os: windows-2025
- os: windows-2019
cmp: vs2022 cmp: vs2022
configuration: static
base: "3.15"
name: "B-3.15 Win-25 MSC-22 static"
- os: windows-2025
cmp: vs2022
configuration: static
base: "3.14"
name: "B-3.14 Win-25 MSC-22 static"
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Prepare and compile dependencies - name: Prepare and compile dependencies
run: python cue.py prepare run: python cue.py prepare
- name: Build main module (example app) - name: Build main module (example app)
@@ -132,7 +180,7 @@ jobs:
- cross: RTEMS-pc386-qemu@4.10 - cross: RTEMS-pc386-qemu@4.10
test: NO test: NO
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Prepare and compile dependencies - name: Prepare and compile dependencies
run: python cue.py prepare run: python cue.py prepare
- name: Build main module (example app) - name: Build main module (example app)

View File

@@ -41,9 +41,9 @@ skip_commits:
install: install:
# fetch submodules (like ci-scripts) # fetch submodules (like ci-scripts)
- cmd: git submodule update --init --recursive - git submodule update --init --recursive
# for the sequencer # for the sequencer
- cinst re2c - choco install re2c
#---------------------------------# #---------------------------------#
# build matrix configuration # # build matrix configuration #

View File

@@ -18,7 +18,7 @@ skip_commits:
- '.travis.yml' - '.travis.yml'
install: install:
- cmd: git submodule update --init --recursive - git submodule update --init --recursive
image: Visual Studio 2022 image: Visual Studio 2022

View File

@@ -269,12 +269,12 @@ class TestAddDependencyOptions(unittest.TestCase):
cue.detect_context() cue.detect_context()
if os.path.exists(cue.ci['cachedir']): if os.path.exists(cue.ci['cachedir']):
shutil.rmtree(cue.ci['cachedir'], onerror=cue.remove_readonly) shutil.rmtree(cue.ci['cachedir'], onerror=cue.remove_readonly)
self.location = os.path.join(cue.ci['cachedir'], 'mcoreutils-master') self.location = os.path.join(cue.ci['cachedir'], 'mcoreutils-main')
self.testfile = os.path.join(self.location, '.ci', 'LICENSE') self.testfile = os.path.join(self.location, '.ci', 'LICENSE')
os.path.join(cue.ci['cachedir'], 'mcoreutils-master') os.path.join(cue.ci['cachedir'], 'mcoreutils-main')
cue.source_set('defaults') cue.source_set('defaults')
cue.complete_setup('MCoreUtils') cue.complete_setup('MCoreUtils')
cue.setup['MCoreUtils'] = 'master' cue.setup['MCoreUtils'] = 'main'
def test_Default(self): def test_Default(self):
cue.add_dependency('MCoreUtils') cue.add_dependency('MCoreUtils')
@@ -702,7 +702,7 @@ class TestAppveyorDetectContext(unittest.TestCase):
class TestSetupForBuild(unittest.TestCase): class TestSetupForBuild(unittest.TestCase):
args = Namespace(paths=[]) args = Namespace(extra_env_vars=[])
if ci_os == 'windows': if ci_os == 'windows':
choco_installs = ['make'] choco_installs = ['make']
if ci_service != 'appveyor': if ci_service != 'appveyor':
@@ -721,7 +721,7 @@ class TestSetupForBuild(unittest.TestCase):
def test_AddPathsOption(self): def test_AddPathsOption(self):
os.environ['FOOBAR'] = 'BAR' os.environ['FOOBAR'] = 'BAR'
args = Namespace(paths=['/my/{FOOBAR}/dir', '/my/foobar']) args = Namespace(extra_env_vars=['PATH=/my/{FOOBAR}/dir', 'PATH=/my/foobar'])
cue.setup_for_build(args) cue.setup_for_build(args)
self.assertTrue(re.search('/my/BAR/dir', os.environ['PATH']), 'Expanded path not in PATH') self.assertTrue(re.search('/my/BAR/dir', os.environ['PATH']), 'Expanded path not in PATH')
self.assertTrue(re.search('/foobar', os.environ['PATH']), 'Plain path not in PATH') self.assertTrue(re.search('/foobar', os.environ['PATH']), 'Plain path not in PATH')
@@ -863,7 +863,8 @@ class TestHooks(unittest.TestCase):
pass pass
with open(self.bla_file, 'w') as f: with open(self.bla_file, 'w') as f:
f.write('''LINE1=YES f.write('''LINE1=YES
LINE2=NO''') LINE2=NO
''')
def test_patchfile(self): def test_patchfile(self):
hook = os.path.join(builddir, 'test.patch') hook = os.path.join(builddir, 'test.patch')
@@ -887,7 +888,7 @@ LINE2=NO''')
@unittest.skipIf(ci_os != 'linux', 'CrossCompatibilityHandling tests only apply to linux') @unittest.skipIf(ci_os != 'linux', 'CrossCompatibilityHandling tests only apply to linux')
class TestCrossCompatibilityHandling(unittest.TestCase): class TestCrossCompatibilityHandling(unittest.TestCase):
args = Namespace(paths=[]) args = Namespace(extra_env_vars=[])
def setUp(self): def setUp(self):
cue.clear_lists() cue.clear_lists()

77
cue.py
View File

@@ -15,6 +15,12 @@ import subprocess as sp
import sysconfig import sysconfig
import shutil import shutil
try:
from os import cpu_count
except ImportError:
def cpu_count():
pass # undetermined
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
# Keep track of all files we write/append for later logging # Keep track of all files we write/append for later logging
@@ -136,7 +142,10 @@ def detect_context():
ci['cachedir'] = os.environ['CACHEDIR'] ci['cachedir'] = os.environ['CACHEDIR']
if 'CHOCO' in os.environ: if 'CHOCO' in os.environ:
ci['choco'].extend(os.environ['CHOCO'].split()) if os.environ['CHOCO'] == 'NO':
ci['choco'] = []
else:
ci['choco'].extend(os.environ['CHOCO'].split())
if 'APT' in os.environ: if 'APT' in os.environ:
ci['apt'].extend(os.environ['APT'].split()) ci['apt'].extend(os.environ['APT'].split())
@@ -148,7 +157,7 @@ def detect_context():
if 'TEST' in os.environ and os.environ['TEST'].lower() == 'no': if 'TEST' in os.environ and os.environ['TEST'].lower() == 'no':
ci['test'] = False ci['test'] = False
ci['parallel_make'] = 2 ci['parallel_make'] = cpu_count() or 2
if 'PARALLEL_MAKE' in os.environ: if 'PARALLEL_MAKE' in os.environ:
ci['parallel_make'] = int(os.environ['PARALLEL_MAKE']) ci['parallel_make'] = int(os.environ['PARALLEL_MAKE'])
@@ -428,9 +437,11 @@ def update_release_local(var, location):
def set_setup_from_env(dep): def set_setup_from_env(dep):
for postf in ['', '_DIRNAME', '_REPONAME', '_REPOOWNER', '_REPOURL', for postf in ['', '_DIRNAME', '_REPONAME', '_REPOOWNER', '_REPOURL',
'_VARNAME', '_RECURSIVE', '_DEPTH', '_HOOK']: '_VARNAME', '_RECURSIVE', '_DEPTH', '_HOOK']:
if dep + postf in os.environ: env = dep + postf
setup[dep + postf] = os.environ[dep + postf] val = os.environ.get(env)
logger.debug('ENV assignment: %s = %s', dep + postf, setup[dep + postf]) if val:
setup[env] = val
logger.debug('ENV assignment: %s = %s', env, setup[env])
def call_git(args, **kws): def call_git(args, **kws):
@@ -607,6 +618,13 @@ def add_dependency(dep):
sys.stdout.flush() sys.stdout.flush()
sp.check_call(['patch', '-p1', '-i', os.path.join(ci['scriptsdir'], 'add-msi-to-314.patch')], sp.check_call(['patch', '-p1', '-i', os.path.join(ci['scriptsdir'], 'add-msi-to-314.patch')],
cwd=place) cwd=place)
# Post 3.14 we have checks for readline.h
print('Patching COMMANDLINE_LIBRARY to EPICS')
sys.stdout.flush()
sp.check_call(['patch', '-p1', '-i', os.path.join(ci['scriptsdir'], 'dont_use_readline_314.patch')],
cwd=place)
else: else:
# force including RELEASE.local for non-base modules by overwriting their configure/RELEASE # force including RELEASE.local for non-base modules by overwriting their configure/RELEASE
release = os.path.join(place, "configure", "RELEASE") release = os.path.join(place, "configure", "RELEASE")
@@ -764,16 +782,37 @@ def setup_for_build(args):
if re.match('^test-results:', line): if re.match('^test-results:', line):
has_test_results = True has_test_results = True
addpaths = [] # apparently %CD% is handled automagically, so use getcwd() instead
for path in args.paths: os.environ['TOP'] = os.getcwd()
os.environ['MAKE'] = 'make'
os.environ['EPICS_BASE'] = places['EPICS_BASE']
changed_vars = set()
for extra_env_var in args.extra_env_vars:
try: try:
addpaths.append(path.format(**os.environ)) key_value = extra_env_var.split('=')
key = key_value[0]
value = key_value[1]
expanded_value = value.format(**os.environ)
# Update the environment right now so later variables have access
if key in os.environ:
old_value = [os.environ[key]]
else:
old_value = []
os.environ[key] = os.pathsep.join(old_value + [expanded_value])
changed_vars.add(key)
except KeyError: except KeyError:
print('Environment') print('Environment')
[print(' ', K, '=', repr(V)) for K, V in os.environ.items()] [print(' ', K, '=', repr(V)) for K, V in os.environ.items()]
raise raise
os.environ['PATH'] = os.pathsep.join([os.environ['PATH']] + addpaths) for key in changed_vars:
print("{0}{2} = {3}{1}".format(ANSI_CYAN, ANSI_RESET, key, os.environ[key]))
# os.environ completely updated at this point
logger.debug('Final PATH') logger.debug('Final PATH')
for loc in os.environ['PATH'].split(os.pathsep): for loc in os.environ['PATH'].split(os.pathsep):
@@ -784,9 +823,6 @@ def setup_for_build(args):
is_make3 = True is_make3 = True
logger.debug('Check if make is a 3.x series: %s', is_make3) logger.debug('Check if make is a 3.x series: %s', is_make3)
# apparently %CD% is handled automagically
os.environ['TOP'] = os.getcwd()
# Add EXTRA make arguments # Add EXTRA make arguments
for tag in ['EXTRA', 'EXTRA1', 'EXTRA2', 'EXTRA3', 'EXTRA4', 'EXTRA5']: for tag in ['EXTRA', 'EXTRA1', 'EXTRA2', 'EXTRA3', 'EXTRA4', 'EXTRA5']:
val = os.environ.get(tag, "") val = os.environ.get(tag, "")
@@ -842,9 +878,8 @@ def handle_old_cross_variables():
os.environ["CI_CROSS_TARGETS"] = "" os.environ["CI_CROSS_TARGETS"] = ""
if "RTEMS" in os.environ: if "RTEMS" in os.environ:
if 'RTEMS_TARGET' in os.environ: rtems_target = os.environ.get('RTEMS_TARGET')
rtems_target = os.environ['RTEMS_TARGET'] if not rtems_target:
else:
if os.environ['RTEMS'] == '5': if os.environ['RTEMS'] == '5':
rtems_target = 'RTEMS-pc686-qemu' rtems_target = 'RTEMS-pc686-qemu'
else: else:
@@ -868,8 +903,10 @@ def handle_old_cross_variables():
if "WINE" in os.environ: if "WINE" in os.environ:
if os.environ['WINE'] == '32': if os.environ['WINE'] == '32':
new_cross_target = ":win32-x86-mingw" new_cross_target = ":win32-x86-mingw"
else: elif os.environ['WINE'] == '64':
new_cross_target = ":windows-x64-mingw" new_cross_target = ":windows-x64-mingw"
else:
raise RuntimeError("Invalid $WINE, must be 32/64")
os.environ["CI_CROSS_TARGETS"] += new_cross_target os.environ["CI_CROSS_TARGETS"] += new_cross_target
print( print(
@@ -1352,8 +1389,6 @@ def test_results(args):
def doExec(args): def doExec(args):
'exec user command with vcvars' 'exec user command with vcvars'
setup_for_build(args) setup_for_build(args)
os.environ['MAKE'] = 'make'
os.environ['EPICS_BASE'] = places['EPICS_BASE']
fold_start('exec.command', 'Execute command {}'.format(args.cmd)) fold_start('exec.command', 'Execute command {}'.format(args.cmd))
sp.check_call(' '.join(args.cmd), shell=True) sp.check_call(' '.join(args.cmd), shell=True)
fold_end('exec.command', 'Execute command {}'.format(args.cmd)) fold_end('exec.command', 'Execute command {}'.format(args.cmd))
@@ -1423,8 +1458,10 @@ def getargs():
p = ArgumentParser() p = ArgumentParser()
p.add_argument('--no-vcvars', dest='vcvars', default=True, action='store_false', p.add_argument('--no-vcvars', dest='vcvars', default=True, action='store_false',
help='Assume vcvarsall.bat has already been run') help='Assume vcvarsall.bat has already been run')
p.add_argument('--add-path', dest='paths', default=[], action='append', p.add_argument('--add-path', dest='extra_env_vars', type=lambda x: "PATH={}".format(x), default=[], action='append',
help='Append directory to $PATH or %%PATH%%. Expands {ENVVAR}') help='Append directory to $PATH or %%PATH%%. Expands {ENVVAR}. Equivalent to: "--add-env PATH=<PATHS>"')
p.add_argument('--add-env', dest='extra_env_vars', default=[], action='append',
help='Append directory to the specified $ENVVAR or %%ENVVAR%%. Expands {OTHER_ENVVAR}. Example: "--add-env \'LD_LIBRARY_PATH={EPICS_BASE}/lib/{EPICS_HOST_ARCH}\'"')
p.add_argument('-T', '--timeout', type=timespec, metavar='DLY', p.add_argument('-T', '--timeout', type=timespec, metavar='DLY',
help='Terminate make after delay. DLY interpreted as second, or may be qualified with "S", "M", or "H". (default no timeout)') help='Terminate make after delay. DLY interpreted as second, or may be qualified with "S", "M", or "H". (default no timeout)')
subp = p.add_subparsers() subp = p.add_subparsers()

View File

@@ -0,0 +1,24 @@
diff -urN a/configure/os/CONFIG_SITE.Common.linux-x86 b/configure/os/CONFIG_SITE.Common.linux-x86
--- a/configure/os/CONFIG_SITE.Common.linux-x86 2023-02-08 18:55:20.000000000 +0100
+++ b/configure/os/CONFIG_SITE.Common.linux-x86 2025-12-02 10:56:20.064200334 +0100
@@ -22,7 +22,7 @@
# comment them all out to build without readline support.
# No other libraries needed (recent Fedora, Ubuntu etc.):
-COMMANDLINE_LIBRARY = READLINE
+#COMMANDLINE_LIBRARY = READLINE
# Needs -lncurses (RHEL 5 etc.):
#COMMANDLINE_LIBRARY = READLINE_NCURSES
diff -urN a/configure/os/CONFIG_SITE.Common.linux-x86_64 b/configure/os/CONFIG_SITE.Common.linux-x86_64
--- a/configure/os/CONFIG_SITE.Common.linux-x86_64 2023-02-08 18:55:20.000000000 +0100
+++ b/configure/os/CONFIG_SITE.Common.linux-x86_64 2025-12-02 10:56:28.328188418 +0100
@@ -22,7 +22,7 @@
# comment them all out to build without readline support.
# No other libraries needed (recent Fedora, Ubuntu etc.):
-COMMANDLINE_LIBRARY = READLINE
+#COMMANDLINE_LIBRARY = READLINE
# Needs -lncurses (RHEL 5 etc.):
#COMMANDLINE_LIBRARY = READLINE_NCURSES

View File

@@ -41,113 +41,57 @@ jobs:
matrix: matrix:
# Job names also name artifacts, character limitations apply # Job names also name artifacts, character limitations apply
include: include:
- os: ubuntu-20.04 - os: ubuntu-24.04
cmp: gcc cmp: gcc
configuration: default configuration: default
wine: "64" wine: "64"
name: "Ub-20 gcc-9 + MinGW" name: "Ub-24 gcc + MinGW"
- os: ubuntu-20.04 - os: ubuntu-24.04
cmp: gcc cmp: gcc
configuration: static configuration: static
wine: "64" wine: "64"
name: "Ub-20 gcc-9 + MinGW, static" name: "Ub-24 gcc + MinGW, static"
- os: ubuntu-20.04 - os: ubuntu-24.04
cmp: gcc cmp: gcc
configuration: static configuration: static
extra: "CMD_CXXFLAGS=-std=c++11" extra: "CMD_CXXFLAGS=-std=c++11"
name: "Ub-20 gcc-9 C++11, static" name: "Ub-24 gcc C++11, static"
- os: ubuntu-18.04 - os: ubuntu-24.04
cmp: clang
configuration: default
name: "Ub-18 clang-9"
- os: ubuntu-20.04
cmp: clang cmp: clang
configuration: default configuration: default
extra: "CMD_CXXFLAGS=-std=c++11" extra: "CMD_CXXFLAGS=-std=c++11"
name: "Ub-20 clang-10 C++11" name: "Ub-24 clang C++11"
- os: ubuntu-20.04 - os: ubuntu-22.04
cmp: gcc cmp: gcc
configuration: default configuration: default
rtems: "4.10" cross: "RTEMS-pc686-qemu@5"
name: "Ub-20 gcc-9 + RT-4.10" name: "Ub-22 gcc + RT-5.1 pc686"
- os: ubuntu-20.04 - os: ubuntu-22.04
cmp: gcc cmp: gcc
configuration: default configuration: default
rtems: "4.9" cross: "RTEMS-beatnik@5"
name: "Ub-20 gcc-9 + RT-4.9"
- os: ubuntu-20.04
cmp: gcc
configuration: default
rtems: "5"
rtems_target: RTEMS-pc686-qemu
name: "Ub-20 gcc-9 + RT-5.1 pc686"
- os: ubuntu-20.04
cmp: gcc
configuration: default
rtems: "5"
rtems_target: RTEMS-beatnik
test: NO test: NO
name: "Ub-20 gcc-9 + RT-5.1 beatnik" name: "Ub-22 gcc + RT-5.1 beatnik"
- os: ubuntu-18.04 - os: macos-latest
cmp: clang
configuration: default
name: "MacOS clang"
- os: windows-2022
cmp: gcc cmp: gcc
configuration: default configuration: default
name: "Ub-18 gcc-7" name: "Win2022 MinGW"
- os: ubuntu-18.04 - os: windows-2022
cmp: gcc-8
utoolchain: true
configuration: default
name: "Ub-18 gcc-8"
- os: ubuntu-20.04
cmp: gcc-8
utoolchain: true
configuration: default
name: "Ub-20 gcc-8"
- os: ubuntu-20.04
cmp: clang
configuration: default
name: "Ub-20 clang-10"
- os: macos-11
cmp: clang
configuration: default
name: "MacOS clang-13"
- os: macos-12
cmp: clang
configuration: default
name: "MacOS clang-13"
- os: windows-2019
cmp: gcc
configuration: default
name: "Win2019 MinGW"
- os: windows-2019
cmp: gcc cmp: gcc
configuration: static configuration: static
name: "Win2019 MinGW, static" name: "Win2022 MinGW, static"
- os: windows-2019
cmp: vs2019
configuration: default
name: "Win2019 MSC-19"
- os: windows-2019
cmp: vs2019
configuration: static
name: "Win2019 MSC-19, static"
- os: windows-2022 - os: windows-2022
cmp: vs2022 cmp: vs2022
@@ -159,8 +103,14 @@ jobs:
configuration: static configuration: static
name: "Win2022 MSC-22, static" name: "Win2022 MSC-22, static"
- os: ubuntu-latest
cmp: gcc
configuration: default
name: "Cross linux-aarch64"
cross: linux-aarch64
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
with: with:
submodules: true submodules: true
- name: Automatic core dumper analysis - name: Automatic core dumper analysis
@@ -170,13 +120,6 @@ jobs:
sudo apt-get update sudo apt-get update
sudo apt-get -y install qemu-system-x86 g++-mingw-w64-x86-64 gdb sudo apt-get -y install qemu-system-x86 g++-mingw-w64-x86-64 gdb
if: runner.os == 'Linux' if: runner.os == 'Linux'
- name: "apt-get install ${{ matrix.cmp }}"
run: |
sudo apt-get -y install software-properties-common
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get -y install ${{ matrix.cmp }}
if: matrix.utoolchain
- name: Prepare and compile dependencies - name: Prepare and compile dependencies
run: python .ci/cue.py prepare run: python .ci/cue.py prepare
- name: Build main module - name: Build main module
@@ -184,44 +127,10 @@ jobs:
- name: Run main module tests - name: Run main module tests
run: python .ci/cue.py -T 15M test run: python .ci/cue.py -T 15M test
- name: Upload tapfiles Artifact - name: Upload tapfiles Artifact
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v4
with: with:
name: tapfiles ${{ matrix.name }} name: tapfiles ${{ matrix.name }}
path: '**/O.*/*.tap' path: '**/O.*/*.tap'
- name: Collect and show test results - name: Collect and show test results
run: python .ci/cue.py test-results if: ${{ always() }}
run: python .ci/cue.py -T 5M test-results
build-cross:
name: cross ${{ matrix.cross }} / ${{ matrix.cmp }} / ${{ matrix.configuration }}
runs-on: ubuntu-20.04
env:
CMP: gcc
BCFG: default
CI_CROSS_TARGETS: ${{ matrix.cross }}
APT: re2c
strategy:
fail-fast: false
matrix:
# configuration: [default, static, debug, static-debug]
configuration: [default]
cross:
- linux-aarch64
- linux-arm@arm-linux-gnueabi
- linux-arm@arm-linux-gnueabihf
- linux-ppc
- linux-ppc64
- win32-x86-mingw
- windows-x64-mingw
- RTEMS-pc386-qemu@4.9
- RTEMS-pc386-qemu@4.10
- RTEMS-pc686-qemu@5
steps:
- uses: actions/checkout@v3
- name: Prepare and compile dependencies
run: python cue.py prepare
- name: Build main module
run: python cue.py build
- name: Run main module tests
run: python cue.py -T 15M test
- name: Collect and show test results
run: python cue.py test-results

View File

@@ -31,44 +31,39 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
- os: ubuntu-18.04 include:
cmp: gcc - os: ubuntu-24.04
configuration: default
base: "7.0"
name: "7.0 Ub-18 gcc-7"
- os: ubuntu-18.04
cmp: gcc
configuration: static
base: "7.0"
name: "7.0 Ub-18 gcc-7 static"
- os: ubuntu-20.04
cmp: gcc cmp: gcc
configuration: default configuration: default
base: "3.15" base: "3.15"
name: "3.15 Ub-20 gcc-9" name: "3.15 Ub-24 gcc"
- os: ubuntu-20.04 - os: ubuntu-24.04
cmp: gcc
configuration: default
base: "7.0"
name: "7.0 Ub-24 gcc"
- os: ubuntu-24.04
cmp: gcc cmp: gcc
configuration: static configuration: static
base: "3.15" base: "3.15"
name: "3.15 Ub-20 gcc-9 static" name: "3.15 Ub-24 gcc static"
- os: ubuntu-20.04 - os: ubuntu-24.04
cmp: gcc cmp: gcc
configuration: debug configuration: debug
base: "3.15" base: "3.15"
name: "3.15 Ub-20 gcc-9 debug" name: "3.15 Ub-24 gcc debug"
- os: ubuntu-20.04 - os: ubuntu-24.04
cmp: clang cmp: clang
configuration: default configuration: default
base: "3.15" base: "3.15"
name: "3.15 Ub-20 clang-10" name: "3.15 Ub-24 clang"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v4
with: with:
submodules: true submodules: true
- name: Prepare and compile dependencies - name: Prepare and compile dependencies

View File

@@ -1,7 +1,7 @@
diff -ruN a/bla.txt b/bla.txt diff -ruN a/bla.txt b/bla.txt
--- a/bla.txt 2020-06-19 18:54:43.129076711 +0200 --- a/bla.txt 2020-06-19 18:54:43.129076711 +0200
+++ b/bla.txt 2020-06-19 18:55:05.093948316 +0200 +++ b/bla.txt 2020-06-19 18:55:05.093948316 +0200
@@ -1,3 +1,3 @@ @@ -1,2 +1,2 @@
-LINE1=YES -LINE1=YES
+LINE1=NO +LINE1=NO
LINE2=NO LINE2=NO