aboutsummaryrefslogtreecommitdiff
path: root/.cirrus.yml
blob: db8e505d7d60ceb4a76d5fb708cef3fbe3bf91d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
task:
  name: macos_arm64
  trigger_type: manual
  timeout_in: 90m
  macos_instance:
    image: ghcr.io/cirruslabs/macos-monterey-base:latest
  brew_script: brew install cabal-install
  cabal_store_cache:
    folder: ~/.cabal/store
    fingerprint_key: macos_2023_03_11
  deps_script:
    - cabal update
    - cabal build pandoc-cli -fembed_data_files -fserver -flua --dependencies-only
  upload_caches:
    - cabal_store
  install_script: |
    sh macos/make_macos_release.sh
    ls
    zip -r macos-release-candidate.zip macos-release-candidate
  artifacts:
    path: macos-release-candidate.zip

task:
  name: linux_arm64
  trigger_type: manual
  timeout_in: 90m
  arm_container:
    image: registry.gitlab.b-data.ch/ghc/ghc4pandoc:9.4.4
    cpu: 4
    memory: 12G
  cabal_store_cache:
    folder: ~/.cabal/store
    fingerprint_key: linux_arm64_2023_03_11
  build_script:
    - ARTIFACTS=./linux/artifacts sh linux/make_artifacts.sh
  upload_caches:
    - cabal_store
  artifacts:
    path: ./linux/artifacts/*