]> git.sven.stormbind.net Git - sven/fuse-exfat.git/blob - .cirrus.yml
Update debian/copyright. Drop year from my own copyright line.
[sven/fuse-exfat.git] / .cirrus.yml
1 #
2 #   .cirrus.yml (29.06.21)
3 #   Travis Contiguous Integration configuration.
4 #
5 #   Free exFAT implementation.
6 #   Copyright (C) 2010-2021  Andrew Nayenko
7 #
8 #   This program is free software; you can redistribute it and/or modify
9 #   it under the terms of the GNU General Public License as published by
10 #   the Free Software Foundation, either version 2 of the License, or
11 #   (at your option) any later version.
12 #
13 #   This program is distributed in the hope that it will be useful,
14 #   but WITHOUT ANY WARRANTY; without even the implied warranty of
15 #   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 #   GNU General Public License for more details.
17 #
18 #   You should have received a copy of the GNU General Public License along
19 #   with this program; if not, write to the Free Software Foundation, Inc.,
20 #   51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21 #
22
23 ---
24 task:
25   matrix:
26     - name: debian-fuse2
27       container:
28         image: gcc:11-bullseye
29       install_script: |
30         apt-get update
31         apt-get install -y libfuse-dev
32       env:
33         EXTRA_CFLAGS: -fanalyzer
34
35     - name: debian-fuse3
36       container:
37         image: gcc:11-bullseye
38       install_script: |
39         apt-get update
40         apt-get install -y libfuse3-dev
41       env:
42         EXTRA_CFLAGS: -fanalyzer
43
44     - name: macos
45       macos_instance:
46         image: ghcr.io/cirruslabs/macos-ventura-base:latest
47       install_script: |
48         brew update --preinstall
49         brew install automake macfuse
50
51     - name: freebsd
52       freebsd_instance:
53         image_family: freebsd-13-0
54       install_script: |
55         pkg install -y autoconf automake fusefs-libs libublio pkgconf
56
57   compile_script: |
58     autoreconf --install
59     ./configure CFLAGS="-Wall -Wextra -Werror \
60                         -fsanitize=address,undefined \
61                         $EXTRA_CFLAGS"
62     make -k
63
64   test_script: |
65     dd if=/dev/zero of=foo.img bs=1048576 count=1
66     mkfs/mkexfatfs -i 12345678 foo.img
67     fsck/exfatfsck foo.img
68     echo 'f1b3a11f781533f5b69086596be38367d0ebfb77  foo.img' | shasum -c
69     label/exfatlabel foo.img ○○○○○○○○○○○○○○○
70     echo '4720462db953d5b2094c884f4b3098a138790533  foo.img' | shasum -c