Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
Cabal
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository 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
Glasgow Haskell Compiler
Packages
Cabal
Commits
45443c81
Unverified
Commit
45443c81
authored
3 years ago
by
Mikolaj Konarski
Browse files
Options
Downloads
Patches
Plain Diff
Update also Macos boostrap CI to the ghcup format GHA now uses
on @hasufell 's advice.
parent
93d84d12
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.github/workflows/bootstrap.yml
+1
-9
1 addition, 9 deletions
.github/workflows/bootstrap.yml
templates/ci-bootstrap.template.yml
+1
-9
1 addition, 9 deletions
templates/ci-bootstrap.template.yml
with
2 additions
and
18 deletions
.github/workflows/bootstrap.yml
+
1
−
9
View file @
45443c81
...
...
@@ -37,20 +37,12 @@ jobs:
name
:
Bootstrap on macOS
runs-on
:
macos-latest
steps
:
-
name
:
Install GHC
run
:
|
cd $(mktemp -d)
curl -sLO "https://downloads.haskell.org/~ghc/8.10.7/ghc-8.10.7-x86_64-apple-darwin.tar.xz"
tar -xJf ghc-*.tar.xz
cd ghc-*
./configure --prefix=/opt/ghc/8.10.7
sudo make install
-
uses
:
actions/checkout@v2
# We use linux dependencies
-
name
:
bootstrap.py
run
:
|
python3 bootstrap/bootstrap.py -w
/opt/
ghc
/
8.10.7
/bin/ghc
-d bootstrap/linux-8.10.7.json
python3 bootstrap/bootstrap.py -w
$(ghcup whereis
ghc
8.10.7
)
-d bootstrap/linux-8.10.7.json
-
name
:
Smoke test
run
:
|
...
...
This diff is collapsed.
Click to expand it.
templates/ci-bootstrap.template.yml
+
1
−
9
View file @
45443c81
...
...
@@ -37,20 +37,12 @@ jobs:
name
:
Bootstrap on macOS
runs-on
:
macos-latest
steps
:
-
name
:
Install GHC
run
:
|
cd $(mktemp -d)
curl -sLO "https://downloads.haskell.org/~ghc/8.10.7/ghc-8.10.7-x86_64-apple-darwin.tar.xz"
tar -xJf ghc-*.tar.xz
cd ghc-*
./configure --prefix=/opt/ghc/8.10.7
sudo make install
-
uses
:
actions/checkout@v2
# We use linux dependencies
-
name
:
bootstrap.py
run
:
|
python3 bootstrap/bootstrap.py -w
/opt/
ghc
/
8.10.7
/bin/ghc
-d bootstrap/linux-8.10.7.json
python3 bootstrap/bootstrap.py -w
$(ghcup whereis
ghc
8.10.7
)
-d bootstrap/linux-8.10.7.json
-
name
:
Smoke test
run
:
|
...
...
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