Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
ghc-wasm-meta
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
haskell-wasm
ghc-wasm-meta
Commits
56474a07
You need to sign in or sign up before continuing.
Commit
56474a07
authored
4 months ago
by
Cheng Shao
Browse files
Options
Downloads
Patches
Plain Diff
ci: test ghcup on linux
parent
956e22ab
No related branches found
No related tags found
No related merge requests found
Pipeline
#109287
passed
4 months ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+46
-0
46 additions, 0 deletions
.gitlab-ci.yml
with
46 additions
and
0 deletions
.gitlab-ci.yml
+
46
−
0
View file @
56474a07
...
...
@@ -153,3 +153,49 @@ aarch64-darwin-nix:
variables
:
NIX_FLAKE_OUTPUTS
:
.#all_9_12 .#all_9_10
NIX_BROWSERS
:
"
"
.linux-ghcup
:
image
:
debian:12
rules
:
-
if
:
$UPSTREAM_GHC_FLAVOUR ==
null
before_script
:
-
|
apt update
apt full-upgrade -y
apt install -y \
build-essential \
curl \
chromium \
firefox-esr \
jq \
unzip \
zstd
-
|
curl -f -L --retry 5 https://get-ghcup.haskell.org | BOOTSTRAP_HASKELL_NONINTERACTIVE=1 BOOTSTRAP_HASKELL_MINIMAL=1 sh
. ~/.ghcup/env
ghcup install cabal latest --set
script
:
-
|
SKIP_GHC=1 ./setup.sh
. ~/.ghc-wasm/env
-
|
ghcup config add-release-channel file://$PWD/ghcup-wasm-0.0.9.yaml
ghcup install ghc wasm32-wasi-9.12 -- $CONFIGURE_ARGS
ghcup install ghc wasm32-wasi-9.10 -- $CONFIGURE_ARGS
ghcup set ghc wasm32-wasi-9.12
./tests/ghci.sh
ghcup set ghc wasm32-wasi-9.10
./tests/ghci.sh
x86_64-linux-ghcup
:
extends
:
.linux-ghcup
tags
:
-
x86_64-linux
aarch64-linux-ghcup
:
extends
:
.linux-ghcup
tags
:
-
aarch64-linux
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment