Commit Graph

45 Commits

Author SHA1 Message Date
Martin Whitaker efb0ea2ec7 Try a different way to disable PLI1 in MSYS2 CLANG CI. 2025-10-25 15:54:50 +01:00
Martin Whitaker 70094ce564 Disable PLI1 support in MSYS2/CLANG CI. 2025-10-25 15:49:11 +01:00
Martin Whitaker d392dcf07f Fix syntax error in github workflow. 2025-10-25 14:22:51 +01:00
Martin Whitaker d766248bc1 Update CI to also test ucrt64 and clang64 builds in MSYS2. 2025-10-25 14:16:00 +01:00
Martin Whitaker 6210c307fa Update CI scripts to continue testing PLI 1 support. 2025-10-18 20:07:23 +01:00
Martin Whitaker b11749e04c Remove Ubuntu 20.04 from workflows as the runner has been retired. 2025-05-11 11:59:04 +01:00
Cary R. 06077ed026
Update test.yml to switch back to macos-13 2024-12-09 08:48:26 -08:00
Cary R. 0914af4c6a
Update test.yml to try macos-14 large 2024-12-09 08:46:58 -08:00
Cary R. 0a671ea459
Update test.yml to use macos-13 2024-12-09 08:31:15 -08:00
Cary R 8c56b2d116 libbz2-dev is needed for Ubuntu 24.04 2024-08-16 22:27:27 -07:00
Cary R 99160f65b8 Add Ubuntu 24.04 to the test list 2024-08-16 22:10:49 -07:00
ga 1aa6a159d0 Fix test.yml for Mac by fixing docopt and using Macos-12 runner.
Update the versions of called Actions to prevent warnings.hi and add
"workflow_dispatch" to allow testing.
Unrelated: add "*.so" to .gitignore to hide built libvvp.so.
2024-06-13 10:36:11 +01:00
Stephen Williams 68841d4670 Remove MINGW32 from regression test scripts
The MINGW32 test is failing randomly. It is not something that we
typically need anyhow, so give up and remove it.
2023-12-17 19:52:01 -08:00
Cary R 369c01a765 Update action and specify python version in msys2 2023-09-02 10:44:21 -07:00
Lars-Peter Clausen 766653bc27 ci: Switch to checkout@v3
The currently used checkout@v2 CI action shows the following deprecation
warning

```
Node.js 12 actions are deprecated. Please update the following actions to
use Node.js 16: actions/checkout@v2. For more information see:
https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
```

Github has announced that this will eventually stop working somewhen in mid
2023.

Switch to checkout@v3 which uses Node.js 16 to avoid the ci from breaking
in the near future.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
2023-06-17 12:53:58 -07:00
Stephen Williams 4ea442b2d9 ivtest: Create the vvp_reg.py test script
This creates a new test suite driver and infrastructure for going
forward. This cleans up the descriptions for tests, and is more
extensible.

Include documentation for the new engine, so that new tests can go
here instead of the old test suite.
2023-02-11 18:33:24 -08:00
Lars-Peter Clausen 9fcec0186c ci: Use parallel build
The github CI VM has multiple CPUs. 2 for Linux and Windows, 3 for macOS.
Make use of parallel build to speed up the CI tests a bit.

For Windows the `makepkg-mingw` command already schedules a parallel
build, so no changes are made to the Windows build.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
2023-01-02 16:53:33 -08:00
Lars-Peter Clausen 8b0ace3726 ci: Windows: Add gperf to dependency list
msys2 removed the gperf package from the base-devel package collection[1].

Add gperf explicitly to the dependency list, without this the Windows
CI will fail.

[1] 085698dce3

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
2022-12-26 15:07:34 -08:00
Lars-Peter Clausen 13ba780fe8 ci: Windows: Replace `MINGW_INSTALLS` with `MINGW_ARCH`
Currently the Windows build generates a warning

   => WARNING: MINGW_INSTALLS is deprecated, use MINGW_ARCH instead

Make this change to the CI workflow file.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
2022-12-26 15:07:34 -08:00
Lars-Peter Clausen d6912fb504 ci: Upgrade macOS runner
Github had deprecated MacOS 10.15 runner[1] and it has now been removed and
the corresponding test always fails. Similar to the Windows runner use the
`latest` version to auto-upgrade the environment to a supported version.

[1] https://github.blog/changelog/2022-07-20-github-actions-the-macos-10-15-actions-runner-image-is-being-deprecated-and-will-be-removed-by-8-30-22/

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
2022-09-16 17:37:01 +02:00
Lars-Peter Clausen f253655e25 ci: Remove the Ubuntu 18.04 runner
Github has announced[1] that it is going to remove support for the Ubuntu
18.04 runner. It will start introducing temporary failures at increasing
frequency in October 22 and completely remove support for it in April 23.

To avoid CI failing remove the Ubuntu 18.04 runner and add the 22.04 runner
instead.

[1] https://github.blog/changelog/2022-08-09-github-actions-the-ubuntu-18-04-actions-runner-image-is-being-deprecated-and-will-be-removed-by-12-1-22/

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
2022-09-10 19:42:37 +02:00
Stephen Williams 3166973f59 Document getting started as a developer 2022-04-16 07:58:14 -07:00
Martin Whitaker 348bc13a21 CI: run 'make check' before 'make install'.
This makes sure 'make check' works when iverilog isn't already
installed on the system.
2021-01-28 00:14:00 +00:00
Stephen Williams a19caf4fe6 Actions: only test on pushes to master.
Continue to test all pull requests, but only retest pushes to
master so that work in progress prs don't create quite as much
test traffic.
2021-01-18 12:43:24 -08:00
Tomasz Hemperek 1ce86a97ac Add macos to CI/GHA 2020-12-28 15:29:42 +01:00
umarcor cd7c3fdc4c ci/win: upload artifacts 2020-12-03 09:17:44 +01:00
umarcor 17ef6d65e1 ci/win: cleanup 2020-12-03 09:17:44 +01:00
umarcor 5e1dbb1624 ci/win: test mingw64-manual and msys2-pkgbuild only 2020-12-03 09:17:39 +01:00
umarcor e30cbee332 ci/win: mingw64 mingw32-make 2020-12-03 09:17:34 +01:00
umarcor 0fdffe624d ci/win: test mingw64|msys2 and manual|pkgbuild 2020-12-03 09:17:29 +01:00
umarcor ed27dbf608 ci/win: merge 'win' and 'msys' 2020-12-03 09:17:24 +01:00
umarcor eca41e411e ci/win: use 'test.sh' 2020-12-03 09:17:18 +01:00
umarcor 59e117ddcc ci/win: add 'msys2' jobs 2020-12-03 09:17:14 +01:00
umarcor 08ec099091 ci/win: merge 'build.sh' into workflow 2020-12-03 08:07:27 +01:00
umarcor 7a729f3ff8 ci/win: use mingw64 as a custom shell 2020-12-03 08:07:27 +01:00
umarcor bbd09ce87c ci/win: add mingw64 2020-12-03 08:07:27 +01:00
umarcor 5c76ce3923 ci/win: add 'build.sh' 2020-12-03 08:07:26 +01:00
umarcor f4aff860e7 ci/win: remove 'mingw64' from 'test.sh' 2020-11-30 09:41:18 +01:00
umarcor 0d20bf2123 ci/lin: install to system, not HOME 2020-11-30 08:59:42 +01:00
umarcor de4e19ceea ci/lin: split Build and Test steps 2020-11-30 08:12:32 +01:00
umarcor b8ea1e5cfe ci: add 'test.sh' 2020-11-30 08:12:32 +01:00
umarcor b2cca8fbec ci/win: install MSYS2 packages through setup-msys2 (cached) 2020-11-30 06:00:53 +01:00
umarcor d18e280b1b ci/lin: update job names 2020-11-30 06:00:53 +01:00
umarcor 038f52b924 ci/win: do not reinstall msys2 through choco 2020-11-29 13:08:18 +01:00
umarcor 22bfa7b584 ci: migrate from Travis CI to GitHub Actions 2020-11-29 13:08:18 +01:00