Commit Graph

34 Commits

Author SHA1 Message Date
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
Stephen Williams 0dc8596a89 Action to deploy documentation to gh-pages 2022-04-15 20:49:13 -07:00
Stephen Williams 7c73ef8fb6 ivtest: Mark as NI tests that are known to fail.
Mark them as NI so that in the fugure they might be turned back
on if they can be made to work. Keep the tests around as reference.

Also, remove reports that are no longer tested in CI. This is because
they are no longer tested by a previous patch that relies on the
change vvp_reg.pl behavior around failed tests.

Remove now obsolete update_msys2_report.pl, and simplify the test.sh
script, since diff commands and Windows specific trickery are no
longer needed.
2022-01-16 13:17:46 -08:00
Stephen Williams d0b9c11d35 ivtest: vvp_reg.pl sets exit status
If there are any failures, return a non-zero exit status so that
invoking scripts can detect that failures happen. This eliminates
the need to use regression report reference outputs, and should
make it easier to merge PRs that add or impact tests.
2022-01-16 11:03:21 -08:00
Stephen Williams cea237b407 Add ivtest to the iverilog source tree
By adding ivtest to the iverilog source tree, it is easier to keep
the regression test synchronized with the source that is being tested.
This should be especially helpful for PRs that add a new feature, and
have a matching ivtest PR with the regression test for that feature.
2022-01-15 10:18:50 -08: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
Martin Whitaker a1dd6bb056 Fix CI test.sh to return an exit code of 1 if any step fails. 2020-12-14 11:22:34 +00:00
Martin Whitaker 1bb355a95e Update CI test script to easily change version of expected results. 2020-12-05 22:38:30 +00: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