3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-11-18 20:00:50 +00:00
Commit graph

32 commits

Author SHA1 Message Date
Krystine Sherwin
1f6ac5f392 CI: Split dependency setup
Split into common + build/docs/test (common always installs, build/docs/test are installed as requested with `build-*-deps` input flag).
2025-11-04 07:39:06 +01:00
Krystine Sherwin
2d778a94fa action.yml: Playing with apt cache 2025-11-04 07:39:05 +01:00
Mohamed Gaber
e9733d681d
pyosys: uv for non-wheel builds, update instructions
- add `uv` to dependencies: saves builder(s) from manually having to manage a venv for python build dependencies
  - when building wheels, pip automatically creates the environment with those dependencies, so no need for uv
  - when running simply `make ENABLE_PYOSYS=1`, this is not the case. people attempting to `pip3 install --upgrade pybind11 cxxheaderparser` to add it to their system packages will be met with a scare message about "breaking system packages"
- update installation instructions to drop boost and add uv instead
- update ci scripts to use `macos-15[-intel]` (`macos-13` sunset in early december)
2025-11-03 15:39:31 +02:00
Krystine Sherwin
042aff7c77
Bump test-compile to gcc-14 as newest 2025-09-19 11:39:24 +12:00
Krystine Sherwin
f102b25914 Reapply "Merge pull request #5301 from KrystalDelusion/krys/re_5280"
This reverts commit 88eb83a0c3.
2025-09-12 10:41:01 +02:00
Krystine Sherwin
7fb6c1ee52
test-compile.yml: Specify clang-19
Will trigger C++20 builds to run (which are currently failing).
2025-09-03 03:32:00 +12:00
Krystine Sherwin
2261c7e366
test-compile.yml: Compiler tests for arm mac 2025-09-02 11:25:31 +12:00
Miodrag Milanovic
88eb83a0c3 Revert "Merge pull request #5301 from KrystalDelusion/krys/re_5280"
This reverts commit c9a602e882, reversing
changes made to 51eaaffe09.
2025-08-28 11:58:02 +02:00
Krystine Sherwin
eb773ce071
Reapply "Workflow adjustments"
This reverts commit b640a16b07.
2025-08-19 11:29:53 +12:00
Jannis Harder
b640a16b07
Revert "Workflow adjustments" 2025-08-18 20:39:00 +02:00
Krystine Sherwin
73403ad830
ci: Adjust workflow triggers for tests
In light of problems with concurrent skipping, disable it.
Instead, limit the `push` trigger to just main, and enable `workflow_dispatch` for manual triggering.
Don't cancel builds from main if a new commit is pushed.
2025-08-12 12:05:23 +12:00
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