~quf/libcs3tio

560f550068937910e6e10d99ec591ad31eb93d88 — Lukas Himbert 9 months ago 574b05b
test
4 files changed, 27 insertions(+), 2 deletions(-)

M .builds/arch-clang.yml
M .builds/arch-gcc.yml
M .gitignore
A data-v1.0.5.tar.xz.gpg
M .builds/arch-clang.yml => .builds/arch-clang.yml +11 -1
@@ 4,10 4,20 @@ packages:
  - clang
sources:
  - https://git.sr.ht/~quf/libcs3tio
secrets:
  - 8ff17f43-68c9-4768-842a-16aca8dbad0e # file ~/data-v1.0.5-password
tasks:
  - check-indentation: |
      cd libcs3tio
      clang-format -style=file --dry-run -Werror -i src/* test/*
  - compile: |
      cd libcs3tio
      bash compile.sh
      CXX=clang++ bash compile.sh
  - unpack-data: |
      cd libcs3tio
      mkdir test-data
      cd test-data
      gpg --decrypt --passphrase-file "$HOME/data-v1.0.5-password" --batch --pinentry-mode loopback < ../data-v1.0.5.tar.xz.gpg | xzcat | tar xf -
  - test-roundtrip: |
      cd libcs3tio
      build/test/roundtrip test-data/text/

M .builds/arch-gcc.yml => .builds/arch-gcc.yml +15 -1
@@ 1,9 1,23 @@
image: archlinux
packages:
  - base-devel
  - clang
sources:
  - https://git.sr.ht/~quf/libcs3tio 
  - https://git.sr.ht/~quf/libcs3tio
secrets:
  - 8ff17f43-68c9-4768-842a-16aca8dbad0e # file ~/data-v1.0.5-password
tasks:
  - check-indentation: |
      cd libcs3tio
      clang-format -style=file --dry-run -Werror -i src/* test/*
  - compile: |
      cd libcs3tio
      bash compile.sh
  - unpack-data: |
      cd libcs3tio
      mkdir test-data
      cd test-data
      gpg --decrypt --passphrase-file "$HOME/data-v1.0.5-password" --batch --pinentry-mode loopback < ../data-v1.0.5.tar.xz.gpg | xzcat | tar xf -
  - test-roundtrip: |
      cd libcs3tio
      build/test/roundtrip test-data/text/

M .gitignore => .gitignore +1 -0
@@ 2,3 2,4 @@
**.a
build/test/*
!build/**/.gitkeep
test-data

A data-v1.0.5.tar.xz.gpg => data-v1.0.5.tar.xz.gpg +0 -0