Compare commits
9 Commits
9.2.8-armv
...
cabal-inst
| Author | SHA1 | Date | |
|---|---|---|---|
| bbd150a777 | |||
| 567fdeba31 | |||
| 44c4df7024 | |||
| f755827e5e | |||
| a5bc56c914 | |||
| 601b3e8d33 | |||
| eb717c5a12 | |||
| 48e58345b0 | |||
| 999be172de |
33
.cirrus.yml
Normal file
33
.cirrus.yml
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
# release CI for FreeBSD
|
||||||
|
compute_engine_instance:
|
||||||
|
image_project: freebsd-org-cloud-dev
|
||||||
|
image: family/freebsd-13-2
|
||||||
|
platform: freebsd
|
||||||
|
disk: 100 # Gb
|
||||||
|
|
||||||
|
build_task:
|
||||||
|
timeout_in: 120m
|
||||||
|
trigger_type: manual
|
||||||
|
env:
|
||||||
|
ADD_CABAL_ARGS: "--enable-split-sections"
|
||||||
|
ARCH: 64
|
||||||
|
ARTIFACT: "x86_64-portbld-freebsd"
|
||||||
|
CIRRUS_CLONE_SUBMODULES: true
|
||||||
|
DISTRO: na
|
||||||
|
GHC_VERSION: 9.2.4
|
||||||
|
GITHUB_WORKSPACE: ${CIRRUS_WORKING_DIR}
|
||||||
|
RUNNER_OS: FreeBSD
|
||||||
|
TARBALL_EXT: tar.xz
|
||||||
|
TZ: Asia/Singapore
|
||||||
|
install_script:
|
||||||
|
- sed -i.bak -e 's/quarterly/latest/' /etc/pkg/FreeBSD.conf
|
||||||
|
- pkg install -y ghc hs-cabal-install git bash misc/compat10x misc/compat11x misc/compat12x gmake llvm14 patchelf tree gmp libiconv
|
||||||
|
script:
|
||||||
|
- tzsetup Etc/GMT
|
||||||
|
- adjkerntz -a
|
||||||
|
#- git clone --branch cabal-install-v3.6.2.0-p1 https://github.com/hasufell/cabal.git
|
||||||
|
#- cd cabal/
|
||||||
|
- bash .github/scripts/build.sh
|
||||||
|
binaries_artifacts:
|
||||||
|
path: "cabal/out/*"
|
||||||
|
|
||||||
10
.github/workflows/cabal-release.yaml
vendored
10
.github/workflows/cabal-release.yaml
vendored
@@ -24,7 +24,7 @@ jobs:
|
|||||||
ARCH: 64
|
ARCH: 64
|
||||||
DEBIAN_FRONTEND: noninteractive
|
DEBIAN_FRONTEND: noninteractive
|
||||||
TZ: Asia/Singapore
|
TZ: Asia/Singapore
|
||||||
GHC_VERSION: 9.2.3
|
GHC_VERSION: 9.2.8
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
@@ -198,7 +198,7 @@ jobs:
|
|||||||
TZ: Asia/Singapore
|
TZ: Asia/Singapore
|
||||||
ARCH: ARM64
|
ARCH: ARM64
|
||||||
DISTRO: Ubuntu
|
DISTRO: Ubuntu
|
||||||
GHC_VERSION: 9.2.2
|
GHC_VERSION: 9.2.8
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
@@ -261,7 +261,7 @@ jobs:
|
|||||||
ARCH: 64
|
ARCH: 64
|
||||||
TARBALL_EXT: tar.xz
|
TARBALL_EXT: tar.xz
|
||||||
DISTRO: na
|
DISTRO: na
|
||||||
GHC_VERSION: 9.2.3
|
GHC_VERSION: 9.2.8
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
@@ -294,7 +294,7 @@ jobs:
|
|||||||
TARBALL_EXT: tar.xz
|
TARBALL_EXT: tar.xz
|
||||||
DISTRO: na
|
DISTRO: na
|
||||||
HOMEBREW_CHANGE_ARCH_TO_ARM: 1
|
HOMEBREW_CHANGE_ARCH_TO_ARM: 1
|
||||||
GHC_VERSION: 9.2.3
|
GHC_VERSION: 9.2.8
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
@@ -327,7 +327,7 @@ jobs:
|
|||||||
ARCH: 64
|
ARCH: 64
|
||||||
TARBALL_EXT: "zip"
|
TARBALL_EXT: "zip"
|
||||||
DISTRO: na
|
DISTRO: na
|
||||||
GHC_VERSION: 9.2.3
|
GHC_VERSION: 9.2.8
|
||||||
steps:
|
steps:
|
||||||
- name: install windows deps
|
- name: install windows deps
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
|
|||||||
6
.github/workflows/install-bindist.sh
vendored
6
.github/workflows/install-bindist.sh
vendored
@@ -29,6 +29,8 @@ mkdir -p /tmp/install-bindist-ci
|
|||||||
cp "$METADATA_FILE" /tmp/install-bindist-ci/
|
cp "$METADATA_FILE" /tmp/install-bindist-ci/
|
||||||
cd /tmp/install-bindist-ci
|
cd /tmp/install-bindist-ci
|
||||||
|
|
||||||
|
trap 'rm -rf -- /tmp/install-bindist-ci' EXIT
|
||||||
|
|
||||||
cat <<EOF > main.hs
|
cat <<EOF > main.hs
|
||||||
{- cabal:
|
{- cabal:
|
||||||
build-depends: base
|
build-depends: base
|
||||||
@@ -103,6 +105,10 @@ case $TOOL in
|
|||||||
ghc --info
|
ghc --info
|
||||||
ghc -prof main.hs
|
ghc -prof main.hs
|
||||||
[[ $(./main +RTS -s) -eq 2 ]]
|
[[ $(./main +RTS -s) -eq 2 ]]
|
||||||
|
ghcup_fun install cabal recommended
|
||||||
|
cabal --version
|
||||||
|
cabal update
|
||||||
|
cabal install --lib --package-env=. clock
|
||||||
;;
|
;;
|
||||||
cabal)
|
cabal)
|
||||||
ghcup_fun install ghc --set "$(ghcup_fun list -t ghc -r -c available | tail -1 | awk '{ print $2 }')"
|
ghcup_fun install ghc --set "$(ghcup_fun list -t ghc -r -c available | tail -1 | awk '{ print $2 }')"
|
||||||
|
|||||||
@@ -2957,9 +2957,9 @@ ghcupDownloads:
|
|||||||
A_ARM:
|
A_ARM:
|
||||||
Linux_UnknownLinux:
|
Linux_UnknownLinux:
|
||||||
unknown_versioning:
|
unknown_versioning:
|
||||||
dlUri: https://downloads.haskell.org/~ghcup/unofficial-bindists/ghc/9.2.8/ghc-9.2.8-armv7-linux-gnueabihf.tar.xz
|
dlUri: https://downloads.haskell.org/~ghcup/unofficial-bindists/ghc/9.2.8/ghc-9.2.8-armv7-deb10-linux-gnueabihf.tar.xz
|
||||||
dlSubdir: ghc-9.2.8-armv7-linux-gnueabihf
|
dlSubdir: ghc-9.2.8-armv7-linux-gnueabihf
|
||||||
dlHash: 2515ceb6fef585f481c7856fcf9431415889784b0ec8626b5051599792f068d8
|
dlHash: d8926744e542a89f150635fdb2d0234c715e39caface4dcb2f0f989c96af51f1
|
||||||
9.4.1:
|
9.4.1:
|
||||||
viTags:
|
viTags:
|
||||||
- base-4.17.0.0
|
- base-4.17.0.0
|
||||||
|
|||||||
Binary file not shown.
@@ -2957,9 +2957,9 @@ ghcupDownloads:
|
|||||||
A_ARM:
|
A_ARM:
|
||||||
Linux_UnknownLinux:
|
Linux_UnknownLinux:
|
||||||
unknown_versioning:
|
unknown_versioning:
|
||||||
dlUri: https://downloads.haskell.org/~ghcup/unofficial-bindists/ghc/9.2.8/ghc-9.2.8-armv7-linux-gnueabihf.tar.xz
|
dlUri: https://downloads.haskell.org/~ghcup/unofficial-bindists/ghc/9.2.8/ghc-9.2.8-armv7-deb10-linux-gnueabihf.tar.xz
|
||||||
dlSubdir: ghc-9.2.8-armv7-linux-gnueabihf
|
dlSubdir: ghc-9.2.8-armv7-linux-gnueabihf
|
||||||
dlHash: 2515ceb6fef585f481c7856fcf9431415889784b0ec8626b5051599792f068d8
|
dlHash: d8926744e542a89f150635fdb2d0234c715e39caface4dcb2f0f989c96af51f1
|
||||||
9.4.1:
|
9.4.1:
|
||||||
viTags:
|
viTags:
|
||||||
- base-4.17.0.0
|
- base-4.17.0.0
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user