-
Notifications
You must be signed in to change notification settings - Fork 182
/
.cirrus.yml
70 lines (64 loc) · 2.19 KB
/
.cirrus.yml
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#
# .cirrus.yml (29.06.21)
# Travis Contiguous Integration configuration.
#
# Free exFAT implementation.
# Copyright (C) 2010-2021 Andrew Nayenko
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
---
task:
matrix:
- name: debian-fuse2
container:
image: gcc:12-bullseye
install_script: |
apt-get update
apt-get install -y libfuse-dev
env:
EXTRA_CFLAGS: -fanalyzer
- name: debian-fuse3
container:
image: gcc:12-bullseye
install_script: |
apt-get update
apt-get install -y libfuse3-dev
env:
EXTRA_CFLAGS: -fanalyzer
- name: macos
macos_instance:
image: ghcr.io/cirruslabs/macos-ventura-base:latest
install_script: |
brew update --preinstall
brew install automake macfuse
- name: freebsd
freebsd_instance:
image_family: freebsd-13-1
install_script: |
pkg install -y autoconf automake fusefs-libs libublio pkgconf
compile_script: |
autoreconf --install
./configure CFLAGS="-Wall -Wextra -Werror \
-fsanitize=address,undefined \
$EXTRA_CFLAGS"
make -k
test_script: |
dd if=/dev/zero of=foo.img bs=1048576 count=1
mkfs/mkexfatfs -i 12345678 foo.img
fsck/exfatfsck foo.img
echo 'f1b3a11f781533f5b69086596be38367d0ebfb77 foo.img' | shasum -c
label/exfatlabel foo.img ○○○○○○○○○○○○○○○
echo '4720462db953d5b2094c884f4b3098a138790533 foo.img' | shasum -c