File: .cirrus.yml

package info (click to toggle)
zkg 2.11.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 1,444 kB
  • sloc: python: 5,114; sh: 270; makefile: 265; cpp: 24
file content (38 lines) | stat: -rw-r--r-- 805 bytes parent folder | download
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
cpus: &CPUS 8

resources_template: &RESOURCES_TEMPLATE
  cpu: *CPUS
  memory: 4GB

env:
  ZEEK_CI_CPUS: *CPUS

ci_template: &CI_TEMPLATE
  only_if: >
    $CIRRUS_PR != '' ||
    $CIRRUS_BRANCH == 'master' ||
    $CIRRUS_BRANCH =~ 'release/.*'

  test_script: ci/test.sh

  on_failure:
    upload_btest_tmp_dir_artifacts:
      path: "testing/**/tmp.tar.gz"
  always:
    upload_btest_xml_results_artifacts:
      path: "testing/**/btest-results.xml"
      type: text/xml
      format: junit

zeek_lts_task:
  container:
    dockerfile: ci/zeek-lts/Dockerfile
    << : *RESOURCES_TEMPLATE
  << : *CI_TEMPLATE

# Note: this gets re-enabled when there's a Zeek 4.1 release.
# zeek_feature_task:
#   container:
#     dockerfile: ci/zeek-feature/Dockerfile
#     << : *RESOURCES_TEMPLATE
#   << : *CI_TEMPLATE