Commit Graph

205 Commits

Author SHA1 Message Date
Akash Levy 77be4d7be7 Bump Yosys to latest 2025-08-07 17:22:25 -07:00
Krystine Sherwin ab403635e3
CI: Enable source tracking for reusable build
The `test-docs-build` jobs require source tracking enabled to prevent warnings-as-errors.
Also add an extra note to the readme in case users run into the same.
2025-08-06 13:52:13 +12:00
Krystine Sherwin 891a907a30
Add and use ENABLE_HELP_SOURCE
Conditionally include help source tracking to preserve ABI.
Docs builds can (and should) use `ENABLE_HELP_SOURCE` so that the generated sphinx docs can perform default grouping and link to source files.
Regular user-builds don't need the source tracking.
2025-08-06 13:52:13 +12:00
Krystine Sherwin 3959d19291
Reapply "Add groups to command reference"
This reverts commit 81f87ce6ed.
2025-08-06 13:52:12 +12:00
Akash Levy 347d7b6524
Merge branch 'YosysHQ:main' into main 2025-08-04 15:28:01 -07:00
Miodrag Milanović 86ef7f7ede
Update wheels to Trusted Publisher 2025-08-04 17:43:03 +02:00
N. Engelhardt 81f87ce6ed
Revert "Add groups to command reference" 2025-07-23 14:41:49 +00:00
Krystine Sherwin 4722b07485
Docs: docs/source/cmd is source only
i.e. we don't need to clean it, and we don't need to include it in the docs artifact
2025-07-21 10:34:54 +12:00
Akash Levy a38d4da5c9 Comment out sanitizer 2025-07-05 03:35:37 -07:00
Akash Levy 3d4bf57745 Merge from upstream 2025-07-02 11:25:18 -07:00
Krystine Sherwin e6961d8c9f
CI: Test with ASAN as well
New matrix variable for sanitizer, running `undefined` and `address` separately
(because they are mutually exclusive).  Probably don't need to run both
sanitizers on both os targets, but it's probably fine.
2025-06-28 11:33:18 +12:00
Akash Levy 958112bcb0
Merge branch 'YosysHQ:main' into main 2025-06-11 03:26:14 -07:00
Miodrag Milanovic a5edbc8836 Update CI, windows-2019 is deprecated 2025-06-09 19:07:53 +02:00
Akash Levy 135570020e Fix CodeQL 2025-05-07 22:48:01 -07:00
Akash Levy 0a76067801 Add some stuff back 2025-04-28 18:44:58 -07:00
Akash Levy f7a981e23d Disable test-docs-build 2025-04-21 17:36:35 -07:00
Akash Levy 5f5ed1b29e Merge upstream yosys 2025-04-21 17:36:24 -07:00
Miodrag Milanovic c79379db02 Run wheels each Sunday at 10AM 2025-04-14 15:22:38 +02:00
Miodrag Milanović 9f25f972dc
Merge pull request #5008 from donn/wheel_builds_fix
wheels: fix builds, add linux aarch64 to ci
2025-04-14 15:10:37 +02:00
KrystalDelusion a2e1d0165f
Merge pull request #5016 from YosysHQ/krys/zizmor
CI: Fixes from zizmor
2025-04-12 09:02:59 +12:00
Donn 2bc2105d82 wheels: fix builds, add linux aarch64 to ci
Essentially, something is attempting to build the Yosys EXE when you build libyosys.so now. With `ENABLE_PYTHON_CONFIG_EMBED=0`, the Yosys EXE will always fail to build.

Furthermore, because `ENABLE_PYOSYS` now attempts to build a wheel, building a wheel has become recursive.

This commit uses a supplementary set of libs for the EXE (EXE_LIBS) so it and libyosys.so can be built simultaneously, as well as a new Makefile flag, `ENABLE_WHEEL`, to prevent the aforementioned recursion.

I also enabled aarch64 Linux in the CI because it's publicly available now.
2025-04-09 10:42:40 +02:00
Akash Levy 993b23e747 Merge upstream 2025-02-03 09:33:16 -08:00
Catherine f5c53a99e7 CI: Sanitize for undefined behavior. 2025-02-03 10:19:19 +01:00
Akash Levy bd439fc524 Reapply "Merge upstream"
This reverts commit e73d51dbf0.
2025-01-23 13:40:32 -08:00
Akash Levy e73d51dbf0 Revert "Merge upstream"
This reverts commit c58a50f880, reversing
changes made to a1c3c98773.
2025-01-21 05:28:36 -08:00
Akash Levy c58a50f880 Merge upstream 2025-01-21 04:36:34 -08: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
Akash Levy ef710eda5c Fix CodeQL workflow 2025-01-16 20:26:43 -08:00
Akash Levy 1188edeabc Use environment setup for CodeQL 2025-01-16 19:57:22 -08:00
Akash Levy 81f30593cb Fix actions deps 2025-01-16 19:34:20 -08:00
Akash Levy 54c69f1fed Try again 2025-01-16 16:03:00 -08:00
Akash Levy a4d2776647 Fix tcl-tk stuff for mac 2025-01-16 14:45:58 -08:00
Akash Levy de0b6cfabc Use good make 2025-01-16 12:15:29 -08:00
Akash Levy 53be1f8617 Fixes to build flow 2025-01-16 11:41:48 -08:00
Akash Levy 090e8de6d7 Bundle install 2025-01-15 17:22:21 -08:00
Akash Levy 78a510ca54 Try again 2025-01-15 17:17:41 -08:00
Akash Levy 8dabfbe429 Try again 2025-01-15 16:50:44 -08:00
alaindargelas bd3bfa1a8b
Merge pull request #43 from alaindargelas/lib_dwarf_fix
Lib dwarf fix
2025-01-15 16:47:24 -08:00
Alain Dargelas 25c6450e68 Lib dwarf 2025-01-15 16:46:05 -08:00
Alain Dargelas 2c1824b07d Lib dwarf 2025-01-15 16:43:28 -08:00
Akash Levy fb1baceb83 Try again 2025-01-15 16:42:57 -08:00
Alain Dargelas d83cf40b2a Merge branch 'main' into lib_dwarf_fix 2025-01-15 16:42:08 -08:00
Alain Dargelas d56255dd7b Lib dwarf 2025-01-15 16:40:26 -08:00
Akash Levy 2efcb9e04d Add libnsl 2025-01-15 16:35:25 -08:00
Akash Levy ef96cc47e1 Install all needed dependencies 2025-01-15 16:33:19 -08:00
Alain Dargelas f323bb0f99 Dwarf lib 2025-01-15 16:29:25 -08: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
Akash Levy 6e88c689f2
Merge branch 'YosysHQ:main' into main 2024-12-01 12:32:07 -05:00