Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
c13854d
DO NOT MERGE try vmactions instead of Cirrus
asomers Apr 13, 2026
5c1701c
Add openbsd, haiku, and freebsd/aarch64
asomers Apr 14, 2026
58569e7
Fixes:
asomers Apr 14, 2026
59a8022
Try to fix FreeBSD conditional steps
asomers Apr 14, 2026
7586410
FreeBSD aarch64 needs a separate job
asomers Apr 14, 2026
50e895f
spaces to underscores
asomers Apr 14, 2026
e529cd2
Don't duplicate "jobs:"
asomers Apr 14, 2026
d105895
don't source .cargo/env on freebsd/aarch64
asomers Apr 14, 2026
11d21cc
Try a different technique to merge freebsd jobs
asomers Apr 14, 2026
8767621
Disable building on FreeBSD/aarch becuase it's too slow
asomers Apr 14, 2026
9ab2ae1
Attempt to use the "build" action for NetBSD
asomers Apr 14, 2026
f26f266
Temporarily disable some builds while we work on NetBSD
asomers Apr 14, 2026
983363f
More attempts to use the build action
asomers Apr 14, 2026
c287087
Add .cargo/env to .profile
asomers Apr 14, 2026
567db30
fixup
asomers Apr 14, 2026
faeff21
another attempt to set ENV
asomers Apr 14, 2026
e3751bd
No need to 'cd $GITHUB_WORKSPACE' with vmactions 1.4.5
asomers Apr 15, 2026
62f16ce
Try using GITHUB_PATH
asomers Apr 15, 2026
f59fb43
temporarily disable netbsd build
asomers Apr 15, 2026
f9c9022
Stop trying to persist PATH between steps, for now
asomers Apr 15, 2026
e660d8d
Try sync=nfs
asomers Apr 15, 2026
ef962cd
Use local locking instead of locking over NFS
asomers Apr 15, 2026
c6989a2
Revert "Use local locking instead of locking over NFS"
asomers Apr 15, 2026
1647a44
Revert "Try sync=nfs"
asomers Apr 15, 2026
4b7c5b1
Try vmactions' new custom-shell-name feature
asomers Apr 15, 2026
3bf16ac
Try combining FreeBSD and NetBSD jobs
asomers Apr 15, 2026
42cfbf5
change matrix.action syntax
asomers Apr 15, 2026
57f0ef6
fix matrix.action syntax
asomers Apr 15, 2026
5d68071
SEt fail-fast false, and fix the job name
asomers Apr 15, 2026
4b7a68f
Combine all of the vmactions jobs
asomers Apr 15, 2026
5d2e14b
Renable NetBSD, OmniOS, etc. And reduce count of FreeBSD builds.
asomers Apr 16, 2026
4beb1ab
Attempt to add ~/.cargo/bin to the PATH
asomers Apr 16, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
66 changes: 0 additions & 66 deletions .cirrus.yml

This file was deleted.

26 changes: 17 additions & 9 deletions .github/actions/build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ inputs:
required: false
default: -D warnings

SHELL:
description: 'Command shell to use'
required: false
default: bash

TARGETS:
description: 'Build all targets or only default?'
required: false
Expand Down Expand Up @@ -54,36 +59,39 @@ runs:
using: "composite"
steps:
- name: set up Rust env
shell: bash
shell: ${{ inputs.SHELL }}
run: |
echo "RUSTFLAGS=${{ inputs.RUSTFLAGS }}" >> $GITHUB_ENV
echo "RUSTDOCFLAGS=${{ inputs.RUSTDOCFLAGS }}" >> $GITHUB_ENV

- name: debug info
shell: bash
shell: ${{ inputs.SHELL }}
run: |
${{ inputs.TOOL }} -Vv
rustc -Vv

- name: build
shell: bash
run: ${{ inputs.TOOL }} ${{ inputs.BUILD }} ${{ inputs.ZFLAGS }} --target ${{ inputs.TARGET }} ${{ inputs.TARGETS }} --all-features
shell: ${{ inputs.SHELL }}
run: |
${{ inputs.TOOL }} ${{ inputs.BUILD }} ${{ inputs.ZFLAGS }} --target ${{ inputs.TARGET }} ${{ inputs.TARGETS }} --all-features

- name: doc
if: inputs.NODOC == 'false'
shell: bash
run: ${{ inputs.TOOL }} doc ${{ inputs.ZFLAGS }} --no-deps --target ${{ inputs.TARGET }} --all-features
shell: ${{ inputs.SHELL }}
run: |
${{ inputs.TOOL }} doc ${{ inputs.ZFLAGS }} --no-deps --target ${{ inputs.TARGET }} --all-features

- name: clippy
if: inputs.NOCLIPPY == 'false'
shell: bash
run: ${{ inputs.TOOL}} clippy ${{ inputs.ZFLAGS }} --target ${{ inputs.TARGET }} --all-targets --all-features -- ${{ inputs.CLIPPYFLAGS }}
shell: ${{ inputs.SHELL }}
run: |
${{ inputs.TOOL}} clippy ${{ inputs.ZFLAGS }} --target ${{ inputs.TARGET }} --all-targets --all-features -- ${{ inputs.CLIPPYFLAGS }}

- name: Set up cargo-hack
if: inputs.NOHACK == 'false'
uses: taiki-e/install-action@cargo-hack

- name: run cargo hack
shell: bash
shell: ${{ inputs.SHELL }}
if: inputs.NOHACK == 'false'
run: ${{ inputs.TOOL }} hack ${{ inputs.ZFLAGS }} check --target ${{ inputs.TARGET }} --each-feature
12 changes: 9 additions & 3 deletions .github/actions/test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ inputs:
TARGET:
required: true

SHELL:
description: 'Command shell to use'
required: false
default: bash

SUDO:
description: 'Set it to an empty string to run the tests as the current user, leave it with the default value to test with "sudo"'
required: false
Expand All @@ -27,13 +32,14 @@ runs:
using: "composite"
steps:
- name: set up Rust env
shell: bash
shell: ${{ inputs.SHELL }}
run: |
echo "RUSTFLAGS=${{ inputs.RUSTFLAGS }}" >> $GITHUB_ENV
echo "RUSTDOCFLAGS=${{ inputs.RUSTDOCFLAGS }}" >> $GITHUB_ENV
# Enable backtrace to make debugging easier
echo "RUST_BACKTRACE=1" >> $GITHUB_ENV

- name: test
shell: bash
run: ${{ inputs.SUDO }} $(which ${{ inputs.TOOL }}) test --target ${{ inputs.TARGET }}
shell: ${{ inputs.SHELL }}
run: |
${{ inputs.SUDO }} $(which ${{ inputs.TOOL }}) test --target ${{ inputs.TARGET }}
Loading
Loading