2022-10-20 12:37:50 +00:00
|
|
|
freebsd_instance:
|
2023-05-02 11:01:40 +00:00
|
|
|
image_family: freebsd-13-2
|
2022-10-20 12:37:50 +00:00
|
|
|
|
2023-01-13 03:16:13 +00:00
|
|
|
build_task:
|
|
|
|
name: build
|
2022-10-20 12:37:50 +00:00
|
|
|
env:
|
|
|
|
GHC_VER: 9.2.4
|
2023-01-14 13:00:32 +00:00
|
|
|
CABAL_VER: 3.8.1.0
|
2022-10-20 12:37:50 +00:00
|
|
|
ARTIFACT: "x86_64-portbld-freebsd-ghcup"
|
|
|
|
ARCH: 64
|
|
|
|
RUNNER_OS: FreeBSD
|
|
|
|
DISTRO: na
|
|
|
|
GITHUB_WORKSPACE: ${CIRRUS_WORKING_DIR}
|
|
|
|
JSON_VERSION: "0.0.7"
|
|
|
|
CIRRUS_CLONE_SUBMODULES: true
|
2023-01-18 14:04:02 +00:00
|
|
|
AWS_ACCESS_KEY_ID: ENCRYPTED[6ed6287e2dd78ab5f84b22232c5245834ab042bd8ba443883aaf4b4d1ecc0481add1fdfad5ae6f6a8cfb418e6f19b2fc]
|
|
|
|
AWS_SECRET_ACCESS_KEY: ENCRYPTED[16f3cda2954c7cee99444e6788eb5997382aa4ce1477e7523fef2586077541f43b5c816156961fc6b4677259679875a7]
|
2022-12-15 16:21:53 +00:00
|
|
|
S3_HOST: ENCRYPTED[ce961780a33159f7d1d8046956b5ac6ebc3bfc8149428e5f538576cda51d9f3d0c35b79cdd1e325793639ff6e31f889d]
|
2023-05-02 11:01:40 +00:00
|
|
|
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
|
2022-10-20 12:37:50 +00:00
|
|
|
script:
|
2023-01-04 08:56:07 +00:00
|
|
|
- tzsetup Etc/GMT
|
|
|
|
- adjkerntz -a
|
2022-10-20 12:37:50 +00:00
|
|
|
- bash .github/scripts/build.sh
|
|
|
|
- bash .github/scripts/test.sh
|
|
|
|
binaries_artifacts:
|
2022-12-15 16:21:53 +00:00
|
|
|
path: "out/*"
|