Skip to content

Commit 6b1a31a

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

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

.github/workflows/bootstrap.yaml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,51 @@ 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+
defaults:
64+
run:
65+
working-directory: /mnt/jfs
66+
env:
67+
BOOTSTRAP_HASKELL_CABAL_VERSION: 3.6.2.0
68+
BOOTSTRAP_HASKELL_GHC_VERSION: 8.10.7
69+
BOOTSTRAP_HASKELL_NONINTERACTIVE: yes
70+
GHCUP_INSTALL_BASE_PREFIX: "/mnt/jfs"
71+
steps:
72+
- uses: docker://hasufell/arm64v8-ubuntu-haskell:focal
73+
name: Cleanup
74+
with:
75+
args: "find . -mindepth 1 -maxdepth 1 -exec rm -rf -- {} +"
76+
77+
- name: Checkout code
78+
uses: actions/checkout@v3
79+
80+
- uses: docker://hasufell/arm64v8-ubuntu-haskell:focal
81+
name: Run build (arm64v8 linux)
82+
with:
83+
args: sh ./.github/scripts/bootstrap.sh
84+
env:
85+
BOOTSTRAP_HASKELL_CABAL_VERSION: ${{ env.BOOTSTRAP_HASKELL_CABAL_VERSION }}
86+
BOOTSTRAP_HASKELL_GHC_VERSION: ${{ env.BOOTSTRAP_HASKELL_GHC_VERSION }}
87+
BOOTSTRAP_HASKELL_NONINTERACTIVE: ${{ env.BOOTSTRAP_HASKELL_NONINTERACTIVE }}
88+
GHCUP_INSTALL_BASE_PREFIX: ${{ env.GHCUP_INSTALL_BASE_PREFIX }}
89+
90+
some:
91+
name: some
92+
runs-on: ubuntu-20.04
93+
steps:
94+
- name: Checkout code
95+
uses: actions/checkout@v3
96+
with:
97+
submodules: 'true'
98+
99+
- name: Test ghcup bug
100+
run: |
101+
ls -lah /usr/local/.ghcup/cache
102+
ghcup --version
103+
ghcup --verbose list
104+
105+
106+

0 commit comments

Comments
 (0)