-
-
Notifications
You must be signed in to change notification settings - Fork 8
Adding GHCup targets for build, update, serve #11
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
base: main
Are you sure you want to change the base?
Conversation
|
This looks good, but can we also update the github CI workflow action to include the ghcup github action - should install it automatically in CI. Can we also install and select the cross compilers we need (JS / WASM), and then make sections in the workflow file. - name: Build JS using GHCUp
run: -- command goes here
- name: Build WASM using GHCUp
run: -- command goes here |
c679d4c to
3ddcf62
Compare
.github/workflows/main.yml
Outdated
| - name: Install GHCup | ||
| uses: haskell/ghcup-setup@v1 | ||
|
|
||
| - name: Install GHC-wasm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suppose this should have a better name?
Should it be Build WASM using GHCup in alignment with the existing Build WASM using Nix?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I meant to comment line 41 only :|
|
I fixed the issues here: #15 |
|
Reopening to submit on behalf of @hasufell. Regarding Julian's change, I'm copying here a piece of our conversation for my own memory as regards the reasons for the changes: Me:
|
I'm not using Nix, but GHCup, and I had to adapt the
Makefilea bit to make this project work.These are the 2 targets I've used (
ghcup-build/ghcup-servecorresponding tobuild/serve), plus another one (ghcup-updatecorresponding toupdate) which seemed easy to adapt.