-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setup CI #13
Setup CI #13
Conversation
Finally, let's do some bikeshedding. I moved this to its own message so it doesn't detract from the main points in the cover letter. The following stanza illustrates the current multi-coloured shed in all its glory: test-suite unittests
type: exitcode-stdio-1.0 Here we decided to simply write multiple words together (I think this was a Dunglish issue where a native Dutch speaker incorrectly writes multiple words, unit tests, as a single word, unittests). However, Cabal can't make up its mind: it says However, it does explicitly spell And another bikeshed. I dislike the What do people think of the spellings? ¹ We could "fix" this inconsistency by bumping |
Bikeshedding:
|
Quote with reply: Bikeshedding:
|
b7c1322
to
c8dcbda
Compare
The suite of HDL tests needs to be in its own package because it depends on `clash-testsuite` which is not on Hackage. We need to be able to release `clash-cores` to Hackage without it depending on `clash-testsuite` directly.
Note that it appears that the Cabal store does not need to be first in the env var `GHC_PACKAGE_PATHS` (it is automatically appended because the env var ends in a `:`). The fact that the path was wrong for GHC 9.8 yet it worked fine clued us in on it being superfluous.
As of GHC 9.8, that function gives a warning
The HDL tests fail for several cores. The only thing done about this for now is to disable those tests and make a GitHub issue for each of them. Before release, the bugs should be fixed or the cores removed from the build for Clash 1.8.
f70286d
to
b5da0c3
Compare
Yeah |
b5da0c3
to
14724b0
Compare
This also establishes a proper
cabal.project
and fixes compilation with Clash 1.8.1, although there are currently still bugs in that. Before we releaseclash-cores
, we need to either fix the following bugs, release Clash 1.10.0 and use that, or disable the problematic cores:tuple3_0_sel0_std_logic_vector
is not declared clash-compiler#2807It was not enough to use a global unchanging
cabal.project
and amend that with acabal.project.local
in CI: it did not allow altering the things that needed to be altered. So I had to overwrite part ofcabal.project
itself.