ghcup-metadata/.cirrus.yml

34 lines
952 B
YAML
Raw Normal View History

2023-11-17 12:21:35 +00:00
# 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
2023-11-17 12:23:13 +00:00
trigger_type: manual
2023-11-17 12:21:35 +00:00
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
2023-11-17 12:46:41 +00:00
- git clone --branch cabal-install-v3.6.2.0-p1 https://github.com/hasufell/cabal.git
- cd cabal/
2023-11-17 12:21:35 +00:00
- bash .github/scripts/build.sh
binaries_artifacts:
2023-11-17 12:46:41 +00:00
path: "out/*"
2023-11-17 12:21:35 +00:00