]> git.sven.stormbind.net Git - sven/fuse-exfat.git/blob - .cirrus.yml
releasing package fuse-exfat version 1.3.0+git20220115-2
[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
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: macos
36       macos_instance:
37         image: big-sur-base
38       install_script: |
39         brew update --preinstall
40         brew install automake macfuse
41
42     - name: freebsd
43       freebsd_instance:
44         image_family: freebsd-13-0
45       install_script: |
46         pkg install -y autoconf automake fusefs-libs libublio pkgconf
47
48   compile_script: |
49     autoreconf --install
50     ./configure CFLAGS="-Wall -Wextra -Werror $EXTRA_CFLAGS"
51     make -k
52
53   test_script: |
54     dd if=/dev/zero of=foo.img bs=1048576 count=1
55     mkfs/mkexfatfs -i 12345678 foo.img
56     fsck/exfatfsck foo.img
57     echo 'f1b3a11f781533f5b69086596be38367d0ebfb77  foo.img' | shasum -c