1
0
mirror of synced 2026-01-30 05:44:00 +00:00
Commit Graph

21 Commits

Author SHA1 Message Date
KrystalDelusion
a2e1d0165f Merge pull request #5016 from YosysHQ/krys/zizmor
CI: Fixes from zizmor
2025-04-12 09:02:59 +12:00
KrystalDelusion
90b1ccf67b test-compile: Set oldest clang to 10
clang-11 through clang-16 fail under 24.04, but clang-10 works, so we can move that up to the oldest supported and drop the extra target for ubuntu-20.04
2025-01-20 11:57:47 +13:00
KrystalDelusion
2403c406fb test-compile: Update latest clang
Use clang-19 as latest
2025-01-20 11:21:17 +13:00
KrystalDelusion
37acfce8c4 test-compile: Update oldest clang for 24.04
Oldest clang on 24.04 appears to be 16.
2025-01-20 11:07:40 +13:00
Krystine Sherwin
e609a59325 CI: Fixes from zizmor
> A static analysis tool for Github Actions
https://github.com/woodruffw/zizmor

Mostly means adding `persist-credentials: false` to checkouts and replacing `{{ env.VARNAME }}` with shell substitution.
2024-12-12 15:59:16 +13:00
KrystalDelusion
1e0e367aed test-compile: Drop back to gcc-13 2024-11-26 10:18:09 +13:00
KrystalDelusion
6ff5823d6a test-compile: Use clang-18 and gcc-14
The 'newest' compilers are actually not all that new, they're just the default for the image.  Instead provide explicit versions.
2024-11-26 09:59:52 +13:00
Krystine Sherwin
d709177770 test-compile: Downgrade to focal 2024-08-15 09:44:20 +12:00
Miodrag Milanovic
141a2e3638 Make C++17 compiler required 2024-06-17 16:55:36 +02:00
Krystine Sherwin
c24a9063b6 Fix submodules 2024-05-10 10:15:03 +12:00
Krystine Sherwin
6908330005 ci: Reduce number of jobs
Limit compilers to oldest and newest.
Oldest compilers test with minimum supported standard.
Newest compilers test with minimum *and* maximum supported standard.
2024-05-10 09:53:46 +12:00
Miodrag Milanovic
eae7356c70 Cleanups and update of VS action 2024-05-10 09:53:46 +12:00
Krystine Sherwin
fc48c3a871 ci: Update OS/compiler targets 2024-05-10 09:51:37 +12:00
Krystine Sherwin
7fbf286b3f ci: Update for main branch rename 2024-05-10 09:51:37 +12:00
Krystine Sherwin
0720020226 ci: Drop gcc-12
Setup script unable to install gcc-12 under ubuntu-20.04.
2024-05-10 09:51:37 +12:00
Krystine Sherwin
112a5cfc67 ci: Add testing for newer compilers 2024-05-10 09:49:34 +12:00
Krystine Sherwin
3c65ddbea0 ci: Checkout goes first 2024-05-10 09:49:34 +12:00
Krystine Sherwin
d07323e7dd ci: Add action for reusable build env setup 2024-05-10 09:49:34 +12:00
Krystine Sherwin
62440246ec ci: Add CC_SHORT env var
New Setup Cpp step uses fully qualified paths for $CC and $CXX so ${CC%%-*} no longer works.
Remove os_name since it's not needed anymore.
2024-05-10 09:49:33 +12:00
Krystine Sherwin
616848b773 ci: Use aminya/setup-cpp 2024-05-10 09:49:33 +12:00
Krystine Sherwin
326d802220 ci: split test-compile from test-build 2024-05-10 09:49:33 +12:00