Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
U
unix
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
unix
Commits
720debbf
Commit
720debbf
authored
2 years ago
by
Julian Ospald
Browse files
Options
Downloads
Patches
Plain Diff
Use self-hosted ARM runners
parent
80560b35
No related branches found
Branches containing commit
Tags
v2.8.1.0
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/ci.yml
+22
-18
22 additions, 18 deletions
.github/workflows/ci.yml
with
22 additions
and
18 deletions
.github/workflows/ci.yml
+
22
−
18
View file @
720debbf
...
...
@@ -104,25 +104,29 @@ jobs:
cabal v2-test --constraint 'optparse-applicative -process' --constraint 'QuickCheck +old-random' --constraint 'tasty -unix' all
arm
:
runs-on
:
ubuntu-latest
runs-on
:
[
self-hosted
,
Linux
,
ARM64
]
strategy
:
fail-fast
:
false
matrix
:
arch
:
[
'
armv7
'
,
'
aarch64'
]
arch
:
[
arm
32
v7
,
arm64v8
]
steps
:
-
uses
:
actions/checkout@v3
-
uses
:
uraimo/run-on-arch-action@v2
timeout-minutes
:
120
with
:
arch
:
${{ matrix.arch }}
distro
:
ubuntu20.04
githubToken
:
${{ github.token }}
install
:
|
apt-get update -y
apt-get install -y ghc cabal-install autoconf
run
:
|
cabal --version
cabal update
autoreconf --version
autoreconf -i
cabal v2-test --constraint 'optparse-applicative -process' --constraint 'QuickCheck +old-random' --constraint 'tasty -unix' all
-
uses
:
docker://hasufell/arm64v8-ubuntu-haskell:focal
name
:
Cleanup
with
:
args
:
"
find
.
-mindepth
1
-maxdepth
1
-exec
rm
-rf
--
{}
+"
-
name
:
Checkout code
uses
:
actions/checkout@v3
-
if
:
matrix.arch == 'arm32v7'
uses
:
docker://hasufell/arm32v7-ubuntu-haskell:focal
name
:
Run build (arm32v7 linux)
with
:
args
:
sh -c "cabal update && autoreconf -i && cabal test all --test-show-details=direct"
-
if
:
matrix.arch == 'arm64v8'
uses
:
docker://hasufell/arm64v8-ubuntu-haskell:focal
name
:
Run build (arm64v8 linux)
with
:
args
:
sh -c "cabal update && autoreconf -i && cabal test all --test-show-details=direct"
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