Skip to content

Commit

Permalink
Test on JFS, fixes #792
Browse files Browse the repository at this point in the history
  • Loading branch information
hasufell committed Feb 24, 2023
1 parent 784942c commit abfd44b
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/bootstrap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,43 @@ jobs:
Write-Host "Current Working Directory: $curDir"
./scripts/bootstrap/bootstrap-haskell.ps1 -InstallDir ${GITHUB_WORKSPACE} -BootstrapUrl ("{0}/scripts/bootstrap/bootstrap-haskell" -f $curDir) -InBash
shell: pwsh

jfs:
name: jfs
runs-on: [self-hosted, Linux, ARM64, JFS]
container:
image: hasufell/arm64v8-ubuntu-haskell:focal
env:
BOOTSTRAP_HASKELL_CABAL_VERSION: 3.6.2.0
BOOTSTRAP_HASKELL_GHC_VERSION: 8.10.7
BOOTSTRAP_HASKELL_NONINTERACTIVE: yes
GHCUP_INSTALL_BASE_PREFIX: "/mnt/jfs"
volumes:
- /mnt/jfs:/mnt/jfs
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Run build (arm64v8 linux)
run: |
rm -rf /mnt/jfs/*
sh ./.github/scripts/bootstrap.sh
some:
name: some
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
submodules: 'true'

- name: Run hlint
run: |
ls -lah /usr/local
ls -lah /usr/local/.ghcup
ls -lah /usr/local/.ghcup/cache
ghcup --version
ghcup --verbose list

0 comments on commit abfd44b

Please sign in to comment.