Compare commits
4 Commits
issue-792
...
docker-gli
| Author | SHA1 | Date | |
|---|---|---|---|
|
f084fbce43
|
|||
|
c20deceaa8
|
|||
|
89e4145baf
|
|||
|
|
f5f7c26d8a |
48
.github/workflows/bootstrap.yaml
vendored
48
.github/workflows/bootstrap.yaml
vendored
@@ -56,51 +56,3 @@ jobs:
|
|||||||
Write-Host "Current Working Directory: $curDir"
|
Write-Host "Current Working Directory: $curDir"
|
||||||
./scripts/bootstrap/bootstrap-haskell.ps1 -InstallDir ${GITHUB_WORKSPACE} -BootstrapUrl ("{0}/scripts/bootstrap/bootstrap-haskell" -f $curDir) -InBash
|
./scripts/bootstrap/bootstrap-haskell.ps1 -InstallDir ${GITHUB_WORKSPACE} -BootstrapUrl ("{0}/scripts/bootstrap/bootstrap-haskell" -f $curDir) -InBash
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
|
|
||||||
jfs:
|
|
||||||
name: jfs
|
|
||||||
runs-on: [self-hosted, Linux, ARM64, JFS]
|
|
||||||
defaults:
|
|
||||||
run:
|
|
||||||
working-directory: /mnt/jfs
|
|
||||||
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"
|
|
||||||
steps:
|
|
||||||
- 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
|
|
||||||
|
|
||||||
- uses: docker://hasufell/arm64v8-ubuntu-haskell:focal
|
|
||||||
name: Run build (arm64v8 linux)
|
|
||||||
with:
|
|
||||||
args: sh ./.github/scripts/bootstrap.sh
|
|
||||||
env:
|
|
||||||
BOOTSTRAP_HASKELL_CABAL_VERSION: ${{ env.BOOTSTRAP_HASKELL_CABAL_VERSION }}
|
|
||||||
BOOTSTRAP_HASKELL_GHC_VERSION: ${{ env.BOOTSTRAP_HASKELL_GHC_VERSION }}
|
|
||||||
BOOTSTRAP_HASKELL_NONINTERACTIVE: ${{ env.BOOTSTRAP_HASKELL_NONINTERACTIVE }}
|
|
||||||
GHCUP_INSTALL_BASE_PREFIX: ${{ env.GHCUP_INSTALL_BASE_PREFIX }}
|
|
||||||
|
|
||||||
some:
|
|
||||||
name: some
|
|
||||||
runs-on: ubuntu-20.04
|
|
||||||
steps:
|
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
with:
|
|
||||||
submodules: 'true'
|
|
||||||
|
|
||||||
- name: Test ghcup bug
|
|
||||||
run: |
|
|
||||||
ls -lah /usr/local/.ghcup/cache
|
|
||||||
ghcup --version
|
|
||||||
ghcup --verbose list
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
6
.github/workflows/docker.yaml
vendored
6
.github/workflows/docker.yaml
vendored
@@ -53,7 +53,7 @@ jobs:
|
|||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
|
|
||||||
docker-arm32:
|
docker-arm32:
|
||||||
runs-on: [self-hosted, Linux, ARM64, aarch32-linux]
|
runs-on: [self-hosted, Linux, ARM64]
|
||||||
steps:
|
steps:
|
||||||
- uses: docker://arm64v8/ubuntu:focal
|
- uses: docker://arm64v8/ubuntu:focal
|
||||||
name: Cleanup (aarch64 linux)
|
name: Cleanup (aarch64 linux)
|
||||||
@@ -85,7 +85,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
context: ./docker/arm32v7/focal
|
context: ./docker/arm32v7/focal
|
||||||
push: true
|
push: true
|
||||||
tags: hasufell/arm32v7-debian-haskell:10
|
tags: hasufell/arm32v7-ubuntu-haskell:focal
|
||||||
platforms: linux/arm
|
platforms: linux/arm
|
||||||
|
|
||||||
docker-aarch:
|
docker-aarch:
|
||||||
@@ -121,5 +121,5 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
context: ./docker/arm64v8/focal
|
context: ./docker/arm64v8/focal
|
||||||
push: true
|
push: true
|
||||||
tags: hasufell/arm64v8-debian-haskell:10
|
tags: hasufell/arm64v8-ubuntu-haskell:focal
|
||||||
platforms: linux/arm64
|
platforms: linux/arm64
|
||||||
|
|||||||
@@ -77,6 +77,8 @@ On Darwin M1 you might also need a working llvm installed (e.g. via brew) and ha
|
|||||||
|
|
||||||
The following distro packages are required: `curl gcc gmp gmake ncurses perl5 libffi libiconv`
|
The following distro packages are required: `curl gcc gmp gmake ncurses perl5 libffi libiconv`
|
||||||
|
|
||||||
|
Notice that only FreeBSD 13.x is supported. If the installation fails, complaining about `libncursesw.8.so`, you will need to install FreeBSD 12 compat package first, for example, `pkg install misc/compat12x`.
|
||||||
|
|
||||||
### Windows
|
### Windows
|
||||||
|
|
||||||
On Windows, msys2 should already have been set up during the installation, so most users should just proceed. If you are installing manually, make sure to have a working mingw64 toolchain and shell.
|
On Windows, msys2 should already have been set up during the installation, so most users should just proceed. If you are installing manually, make sure to have a working mingw64 toolchain and shell.
|
||||||
@@ -231,8 +233,9 @@ There are various issues with GHC itself.
|
|||||||
|
|
||||||
### FreeBSD
|
### FreeBSD
|
||||||
|
|
||||||
Lacks some upstream bindists and may need compat libs, since most bindists are built on FreeBSD-12.
|
Lacks some upstream bindists and may need compat libs (such as `misc/compat12x`).
|
||||||
HLS bindists are experimental.
|
HLS bindists are experimental.
|
||||||
|
Only latest FreeBSD is generally supported.
|
||||||
|
|
||||||
### Linux ARMv7/AARCH64
|
### Linux ARMv7/AARCH64
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user