From 41ae8ad4ee200d0bbff4dc0a4882d8d30b371571 Mon Sep 17 00:00:00 2001 From: Travis Geiselbrecht Date: Sun, 7 Apr 2024 23:44:41 -0700 Subject: [PATCH] [github][ci] Reduce the number of GCC runs on older compiler -Don't try to compile any riscv targets on gcc 7.5.0 which is a bit too old to deal with any of the newer ISA extensions. -Stop building UBSAN on 7.5.0 builds since that's not particularly useful. --- .github/workflows/github-ci.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/github-ci.yml b/.github/workflows/github-ci.yml index dcf02544b..73b825b3b 100644 --- a/.github/workflows/github-ci.yml +++ b/.github/workflows/github-ci.yml @@ -42,13 +42,27 @@ jobs: - nucleo-f072rb - pico-test - sifive-e-test - - sifive-unleashed-test - visionfive2-test - rosco-m68k-test exclude: + # no real point building ubsan on the old compiler + - ubsan: 1 + toolchain-ver: 7.5.0 # no toolchain for 7.5.0 for or1k - project: or1ksim toolchain-ver: 7.5.0 + # building newer riscv stuff on 7.5.0 is fairly difficult due to + # lack of certain extensions + - project: qemu-virt-riscv32-test + toolchain-ver: 7.5.0 + - project: qemu-virt-riscv64-test + toolchain-ver: 7.5.0 + - project: qemu-virt-riscv64-supervisor-test + toolchain-ver: 7.5.0 + - project: sifive-e-test + toolchain-ver: 7.5.0 + - project: visionfive2-test + toolchain-ver: 7.5.0 env: PROJECT: ${{ matrix.project }}