mirror of
https://github.com/relan/exfat.git
synced 2026-01-12 00:18:54 +08:00
71 lines
2.2 KiB
YAML
71 lines
2.2 KiB
YAML
#
|
|
# .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-runner:sequoia
|
|
install_script: |
|
|
brew update
|
|
brew install automake macfuse
|
|
|
|
- name: freebsd
|
|
freebsd_instance:
|
|
image_family: freebsd-15-0-amd64-ufs
|
|
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
|