Skip to content

fix(runtime): runnable reference cycle #36

fix(runtime): runnable reference cycle

fix(runtime): runnable reference cycle #36

Workflow file for this run

name: TestFreeBSD
on:
push:
branches:
- master
pull_request:
branches:
- master
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: true
env:
RUST_BACKTRACE: 1
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
toolchain: ["nightly", "beta", "stable"]
steps:
- uses: actions/checkout@v4
- name: Test in FreeBSD
id: test
uses: vmactions/freebsd-vm@v1
with:
usesh: true
sync: rsync
copyback: false
prepare: |
pkg install -y curl pkgconf glib
curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf > install.sh
chmod +x install.sh
./install.sh -y --default-toolchain ${{ matrix.toolchain }} --profile minimal
run: |
. "$HOME/.cargo/env"
set -ex
ARGS="--features all"
# Add feature "nightly" if toolchain is nightly
if [ "${{ matrix.toolchain }}" = "nightly" ]; then
ARGS="$ARGS --features nightly"
fi
cargo +${{ matrix.toolchain }} test --workspace $ARGS