Miodrag Milanović
b20df72e1e
Merge pull request #4536 from YosysHQ/functional
...
Functional Backend
2024-09-06 10:05:04 +02:00
Miodrag Milanovic
fc10a6eee2
Run functional tests on private runner only
2024-09-06 08:47:43 +02:00
Krystine Sherwin
25623b1010
ci: test-verific no longer needs special casing
2024-09-03 11:45:00 +12:00
Krystine Sherwin
e92de01ab3
ci: Split out prepare-docs
2024-09-03 11:40:47 +12:00
Krystine Sherwin
6c833d83b8
ci: Use docs/prep target
2024-09-03 11:31:06 +12:00
Krystine Sherwin
a97d99cbac
ci: Verific skipping conditional on github.ref
...
Docs jobs should not skip on concurrent jobs (in case a non-docs job is already
running, such as when a commit has been tagged for docs-preview). However, a
successful `test-verific` can allow for a future docs job to skip testing and go
straight to the preview.
2024-09-03 11:29:47 +12:00
Krystine Sherwin
a20756676c
ci: Update RTDs trigger conditional
...
Trigger on main, on a branch called `docs-preview*`, or on any tag.
2024-08-27 10:06:26 +12:00
Krystine Sherwin
83692075df
ci: Don't cancel previous builds
...
Which is what the comment said, but the code didn't match.
2024-08-27 10:06:26 +12:00
Krystine Sherwin
7d779c64a3
docs: Only trigger RTDs on main
2024-08-20 04:26:58 +12:00
Emil J
9de534892e
Merge pull request #4515 from RCoeurjoly/nix_on_macos
...
Run nix build also on macos. Build with more logs
2024-08-19 15:49:23 +02:00
Krystine Sherwin
8773cf7721
test-verific: Use fast runner
2024-08-19 21:24:48 +12:00
Krystine Sherwin
7bd3c7b968
Fix test-verific.yml
2024-08-16 10:43:51 +12:00
Krystine Sherwin
3b63ab07ae
docs: Build RTD artifacts directly
...
Use rtds-action instead of yosys-cmd-ref repo.
Add rtds_action to docs configuration.
Add `.readthedocs.yaml`.
Update `DOCS_USAGE_` make target to be able to use pre-generated executables without forcing a remake.
2024-08-16 10:43:51 +12:00
Krystine Sherwin
d709177770
test-compile: Downgrade to focal
2024-08-15 09:44:20 +12:00
Emil J. Tywoniak
eeecb54532
Makefile: no LTO and lld by default
2024-08-05 19:28:09 +02:00
Roland Coeurjoly
7e34142965
Run nix build also on macos. Build with more logs
2024-07-30 22:47:30 +02:00
Miodrag Milanovic
ead4718e56
Enable extensions for CI
2024-07-09 09:22:37 +02:00
Miodrag Milanovic
141a2e3638
Make C++17 compiler required
2024-06-17 16:55:36 +02:00
Miodrag Milanović
803703a833
Update flake lock workflow
...
Update workflow so it creates trigger as user so GitHub Action is triggering actual build
2024-06-02 19:25:05 +02:00
Krystine Sherwin
d135c0bf87
extra-builds.yml: Fix indentation
2024-05-24 09:41:31 +12:00
Krystine Sherwin
1aae0bcd40
ci: Move nix build to extra-builds.yml
...
Skip duplicate actions on nix build.
2024-05-24 09:09:48 +12:00
Roland Coeurjoly
9884bb57a1
Add update flake lock github action
2024-05-13 14:28:32 +02:00
Roland Coeurjoly
dd6178c74b
Fix nix version to 2.18.1, known working version
2024-05-13 14:21:35 +02:00
Roland Coeurjoly
8c8fb1399c
Update github action
2024-05-13 13:53:53 +02:00
Roland Coeurjoly
badd803beb
Merge branch 'YosysHQ:main' into nix
2024-05-14 16:23:50 +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
7905921bd0
Remove test-docs.yml in favour of test-build
2024-05-10 10:00:33 +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
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
fc48c3a871
ci: Update OS/compiler targets
2024-05-10 09:51:37 +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
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
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
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
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