Skip to content

Commit

Permalink
Create custom config files for each CI job. (pjd#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
asomers authored Jul 15, 2022
1 parent 744166a commit f0f2ca0
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,16 @@ build: &BUILD
- cd rust
- cargo check --all-targets
- cargo build --all-targets --release
- target/release/pjdfstest
- target/release/pjdfstest -c $CFG
- rustup component add clippy
- cargo clippy --all-targets

task:
name: FreeBSD
freebsd_instance:
image: freebsd-12-3-release-amd64
env:
CFG: ci/freebsd-ufs.toml
setup_script:
- fetch https://sh.rustup.rs -o rustup.sh
- sh rustup.sh -y --profile=minimal
Expand All @@ -26,4 +28,6 @@ task:
name: Linux
container:
image: rust:latest
env:
CFG: ci/linux-ext4.toml
<< : *BUILD
11 changes: 11 additions & 0 deletions rust/ci/freebsd-ufs.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[features]

chflags = {}
file_flags = ["SF_IMMUTABLE"]
posix_fallocate = {}
stat_st_birthtime = {}
utime_now = {}
utimensat = {}

[settings]
naptime = 0.001
8 changes: 8 additions & 0 deletions rust/ci/linux-ext4.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[features]

posix_fallocate = {}
utime_now = {}
utimensat = {}

[settings]
naptime = 0.001

0 comments on commit f0f2ca0

Please sign in to comment.