Skip to content

Commit 14917f5

Browse files
committed
Migrate away from Cirrus CI completely
1 parent bf80af0 commit 14917f5

3 files changed

Lines changed: 37 additions & 26 deletions

File tree

.cirrus.star

Lines changed: 0 additions & 25 deletions
This file was deleted.

.github/workflows/main.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,3 +353,39 @@ jobs:
353353
run: |
354354
cargo build --locked
355355
cargo test --locked
356+
357+
freebsd:
358+
name: FreeBSD (QEMU)
359+
needs: [build, format, clippy]
360+
runs-on: ubuntu-latest
361+
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
362+
363+
steps:
364+
- uses: actions/checkout@v4
365+
366+
- uses: dorny/paths-filter@668c092af3649c4b664c54e4b704aa46782f6f7c # v2
367+
id: filter
368+
with:
369+
filters: |
370+
rust:
371+
- '**/*.rs'
372+
- '**/Cargo.toml'
373+
- '**/Cargo.lock'
374+
- '.cirrus.star'
375+
- '.github/workflows/main.yml'
376+
- '.cargo/**'
377+
- 'src/**'
378+
- 'tests/**'
379+
- '.github/scripts/smoke-test.sh'
380+
381+
- name: Test on FreeBSD
382+
if: steps.filter.outputs.rust == 'true'
383+
uses: vmactions/freebsd-vm@v1
384+
with:
385+
release: "14.4"
386+
usesh: true
387+
prepare: |
388+
pkg install -y rust
389+
run: |
390+
cargo build --locked
391+
cargo test --locked

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ See the [installation guide](https://docs.rs/celq/latest/celq/installation_guide
149149

150150
### FreeBSD
151151

152-
FreeBSD builds are tested in [Cirrus CI](https://cirrus-ci.org/) and cross-compiled with [Zig](https://github.com/rust-cross/cargo-zigbuild). Although `celq` is not yet in the ports tree, it does publish pre-built binaries:
152+
FreeBSD builds are tested with [freebsd-vm](https://github.com/vmactions/freebsd-vm) and cross-compiled with [Zig](https://github.com/rust-cross/cargo-zigbuild). Although `celq` is not yet in the ports tree, it does publish pre-built binaries:
153153

154154
```bash
155155
VERSION=v0.4.0

0 commit comments

Comments
 (0)