Skip to content

Commit abfd44b

Browse files
committed
Test on JFS, fixes #792
1 parent 784942c commit abfd44b

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

.github/workflows/bootstrap.yaml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,43 @@ jobs:
5656
Write-Host "Current Working Directory: $curDir"
5757
./scripts/bootstrap/bootstrap-haskell.ps1 -InstallDir ${GITHUB_WORKSPACE} -BootstrapUrl ("{0}/scripts/bootstrap/bootstrap-haskell" -f $curDir) -InBash
5858
shell: pwsh
59+
60+
jfs:
61+
name: jfs
62+
runs-on: [self-hosted, Linux, ARM64, JFS]
63+
container:
64+
image: hasufell/arm64v8-ubuntu-haskell:focal
65+
env:
66+
BOOTSTRAP_HASKELL_CABAL_VERSION: 3.6.2.0
67+
BOOTSTRAP_HASKELL_GHC_VERSION: 8.10.7
68+
BOOTSTRAP_HASKELL_NONINTERACTIVE: yes
69+
GHCUP_INSTALL_BASE_PREFIX: "/mnt/jfs"
70+
volumes:
71+
- /mnt/jfs:/mnt/jfs
72+
steps:
73+
- name: Checkout code
74+
uses: actions/checkout@v3
75+
76+
- name: Run build (arm64v8 linux)
77+
run: |
78+
rm -rf /mnt/jfs/*
79+
sh ./.github/scripts/bootstrap.sh
80+
81+
some:
82+
name: some
83+
runs-on: ubuntu-latest
84+
steps:
85+
- name: Checkout code
86+
uses: actions/checkout@v3
87+
with:
88+
submodules: 'true'
89+
90+
- name: Run hlint
91+
run: |
92+
ls -lah /usr/local
93+
ls -lah /usr/local/.ghcup
94+
ls -lah /usr/local/.ghcup/cache
95+
ghcup --version
96+
ghcup --verbose list
97+
98+

0 commit comments

Comments
 (0)