-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #135 from ghcjs/wip/js-backend
Support GHC JS backend
- Loading branch information
Showing
83 changed files
with
778 additions
and
2,463 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: ghcjs-base | ||
|
||
on: | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
defaults: | ||
run: | ||
shell: devx {0} | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
# - uses: mymindstorm/setup-emsdk@v11 | ||
# - uses: cachix/install-nix-action@v22 | ||
# - uses: haskell/actions/setup@v2 | ||
|
||
# - name: Install GHC | ||
# run: nix develop github:input-output-hk/devx#ghc962-js | ||
|
||
- name: Install GHC | ||
uses: input-output-hk/actions/devx@latest | ||
with: | ||
platform: x86_64-linux | ||
target-platform: "-js" | ||
minimal: true | ||
compiler-nix-name: ghc98 | ||
|
||
- name: Cabal | ||
run: file $(which cabal) | ||
|
||
- name: Info | ||
run: javascript-unknown-ghcjs-ghc --info | ||
|
||
- name: Build | ||
run: | | ||
cabal update | ||
cabal build all | ||
- name: Test | ||
run: cabal test test:tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.