Commit Graph

26 Commits

Author SHA1 Message Date
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
Krystine Sherwin f881ba6200
test-docs-build: Install docs prereqs 2024-10-18 05:38:49 +13:00
Krystine Sherwin d1c6699125
test-docs-build: Use fast runner 2024-10-17 07:15:11 +13:00
Krystine Sherwin 5d14c3017e
test-build.yml: Add test-docs-build
Try use self hosted linux runner to build html and latexpdf to check for errors.
Trying to use the build artifact didn't seem to work, so just run it on its own.
Upload docs/build folder as artifact to enable review without having to build
locally.  Note: doesn't include verific, so will differ slightly from final
published docs.
2024-10-17 06:10:12 +13:00
Roland Coeurjoly 5fca9b867d Add Get vcd2fst step to test-yosys job
Co-authored-by: Miodrag Milanovic <mmicko@gmail.com>
Co-authored-by: Roland Coeurjoly <rolandcoeurjoly@gmail.com>
2024-09-30 16:25:32 +02:00
Emil J. Tywoniak eeecb54532 Makefile: no LTO and lld by default 2024-08-05 19:28:09 +02:00
Krystine Sherwin 26b148f455
test-build.yml: Remove duplicated yosys-config 2024-05-11 11:28:16 +12:00
Krystine Sherwin 95bd7c9b08
test-build.yml Use pre_docs_job for build-yosys
pre_job will never skip something that is not skipped by pre_docs_job, so we can gate the build step by pre_docs_job to skip it when the two later jobs are both being skipped.
2024-05-11 11:00:58 +12:00
Krystine Sherwin a8bad3060c
test-build.yml: test-docs should not ignore docs changes 2024-05-11 10:51:08 +12:00
Miodrag Milanovic 6dde8107c3 Remove checkout for specific iverilog git version 2024-05-10 15:46:32 +02:00
Krystine Sherwin c24a9063b6
Fix submodules 2024-05-10 10:15:03 +12:00
Krystine Sherwin 24b3690c25
test-build: Use macos-latest (macOS 14, M1) 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 7d8928af4b
ci: Remove macOS from test-docs
macOS fails due to missing gvpack, but trying to install graphviz
triggers a Python update which breaks the macOS runner.
2024-05-10 09:51:37 +12:00
Krystine Sherwin c89c5c34a0
ci: Disable fail fast for test runs 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 6f602e79d4
docs: Debugging macro test fail
Call yosys-config post build extraction for sanity check.
Report absolute path for yosys exe if it can't be found.
2024-05-10 09:51:36 +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 326d802220
ci: split test-compile from test-build 2024-05-10 09:49:33 +12:00
Krystine Sherwin 154464e7ce
ci: add macos test build 2024-05-10 09:45:31 +12:00
Krystine Sherwin c9c6b96ba9
ci: add missing macOS build
`test-macos.yml` included c++17 which was missing in `test-build.yml`.
2024-05-10 09:45:31 +12:00
Krystine Sherwin 9348221154
ci: simplify tests a bit
Remove compiler and cpp_std from `build-yosys` matrix.  Using `config-$CC` will instead fall back to default values.

Drop `Tool versions` step and introduce `yosys-config` output instead.

Rename `test-builds` to `test-compile`.
2024-05-10 09:45:31 +12:00
Krystine Sherwin 8bc206928f
ci: split test build from matrix
Allow test suite to run if, for example, the C++20 builds are failing but C++11 are fine.
2024-05-10 09:45:03 +12:00
Krystine Sherwin f408b4de05
ci: fix compiler setup
`os_name` in include section needs to be explicit (putting it at the end doesn't
apply to the extra jobs).

Move macOS test to extra job instead of doing all gcc/clang (which isn't setup
for mac anyway).

Also adds name to build-yosys task.
2024-05-10 09:43:56 +12:00
Krystine Sherwin aa470ccb47
ci: Unify test-*.yml
Also rename `build-artifact` to use `matrix.os` for compatibility with testing across OS.
2024-05-10 09:43:17 +12:00