Skip to content

Ghcup#15

Closed
hasufell wants to merge 28 commits into
haskell-miso:mainfrom
hasufell:ghcup
Closed

Ghcup#15
hasufell wants to merge 28 commits into
haskell-miso:mainfrom
hasufell:ghcup

Conversation

@hasufell
Copy link
Copy Markdown

This fixes #11 which had some issues with the Makefile and environment setup.

None of that was related to ghcup or the wasm-cabal script btw.

Comment thread .github/workflows/main.yml Outdated
Comment on lines -20 to -41
- uses: cachix/install-nix-action@v31
- name: Install GHCup
uses: haskell/ghcup-setup@v1
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
cabal: latest

- name: Install cachix
uses: cachix/cachix-action@v16
with:
name: haskell-miso-cachix

- name: Build WASM using Nix
run: nix develop .#wasm --command bash -c "make"

- name: Clean and GC
run: nix develop .#wasm --command bash -c "make" && nix-collect-garbage -d

- name: Build JS using Nix
run: nix develop .#ghcjs --command bash -c "make js"

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./public
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Most of this needs to be put back in. I removed it just to make my attempts in running the actions a bit faster. I suppose I could have just put my actions first in the list. But I didn't, sorry.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feel free to use my commits. I don't have the time to finish this PR.

@dmjio
Copy link
Copy Markdown
Member

dmjio commented Apr 4, 2026

#19

@dmjio dmjio closed this Apr 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants