diff --git a/.github/workflows/bootstrap.yaml b/.github/workflows/bootstrap.yaml index dc988719..8eea1164 100644 --- a/.github/workflows/bootstrap.yaml +++ b/.github/workflows/bootstrap.yaml @@ -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 + +