Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overhaul CI #27

Merged
merged 1 commit into from Nov 29, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
55 changes: 43 additions & 12 deletions .cirrus.yml
@@ -1,19 +1,50 @@
freebsd_instance:
image: freebsd-11-2-release-amd64
cargo_cache:
folder: $CARGO_HOME/registry
fingerprint_script: cat Cargo.lock || echo ""

env:
RUSTFLAGS: -D warnings
RUSTDOCFLAGS: -D warnings

test: &TEST
test_script:
- . $HOME/.cargo/env || true
- cargo test
doc_script:
- . $HOME/.cargo/env || true
- cargo doc --no-deps

task:
name: cargo test
# Record some info about the test environment
sysinfo_script:
- mount
- df -h
- sysctl hw.model hw.ncpu hw.physmem
- freebsd-version
name: FreeBSD
freebsd_instance:
image: freebsd-12-3-release-amd64
# Install Rust
setup_script:
- pkg install -y curl
- curl https://sh.rustup.rs -sSf --output rustup.sh
- sh rustup.sh -y
test_script:
- . $HOME/.cargo/env
- cargo test
<< : *TEST
before_cache_script: rm -rf $CARGO_HOME/registry/index

task:
name: MacOS
env:
TARGET: x86_64-apple-darwin
osx_instance:
image: big-sur-xcode
setup_script:
- curl --proto '=https' --tlsv1.2 -sSf -o rustup.sh https://sh.rustup.rs
- sh rustup.sh -y
<< : *TEST
before_cache_script: rm -rf $CARGO_HOME/registry/index

task:
matrix:
- name: Linux
container:
image: rust:latest
- name: Linux nightly
container:
image: rustlang/rust:nightly
<< : *TEST
before_cache_script: rm -rf $CARGO_HOME/registry/index
9 changes: 0 additions & 9 deletions .travis.yml

This file was deleted.

1 change: 0 additions & 1 deletion README.md
@@ -1,7 +1,6 @@
xattr
=====

[![Build Status](https://travis-ci.org/Stebalien/xattr.svg?branch=master)](https://travis-ci.org/Stebalien/xattr)
[![Build Status](https://api.cirrus-ci.com/github/Stebalien/xattr.svg)](https://cirrus-ci.com/github/Stebalien/xattr)

A small library for setting, getting, and listing extended attributes.
Expand Down