aboutsummaryrefslogtreecommitdiff
path: root/.build.yml
blob: 8011d4226b664e840b335c3a07fd64ce1f4ba94c (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
image: alpine/edge
packages:
  - musl-dev
  - gcc
  - bison
  - curl
  - rsync
  - emacs-nox
  - texinfo
  - gzip
  - xz
tasks:
  - install-pax: |
      git clone --quiet https://github.com/carbslinux/otools
      cd otools
      ./configure
      make pax
      sudo install -Dm755 pax /usr/bin/pax
  - install-blake3: |
      git clone --quiet https://git.sr.ht/~mcf/b3sum
      cd b3sum
      sudo make PREFIX=/usr install
  - install-shellspec: |
      curl -fsSL https://git.io/shellspec | sudo sh -s -- -y -p /usr
  - install-shellcheck: |
      curl -fsLo- https://github.com/koalaman/shellcheck/releases/download/v0.8.0/shellcheck-v0.8.0.linux.x86_64.tar.xz | pax -Jr
      sudo install -Dm755 shellcheck-v0.8.0/shellcheck /usr/bin/shellcheck
  - build: |
      cd cpt
      ./configure
      make
  - test: |
      cd cpt
      make test
triggers:
  - action: email
    condition: failure
    to: cem@carbslinux.org