Skip to content

pipeline: Try a haiku and freebsd build for fun #8

pipeline: Try a haiku and freebsd build for fun

pipeline: Try a haiku and freebsd build for fun #8

Workflow file for this run

name: CI
on: [push, workflow_dispatch]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
os:
- name: freebsd
architecture: x86-64
version: '14.3'
- name: haiku
architecture: x86-64
version: 'r1beta5'
steps:
- uses: actions/checkout@v4
- name: Test on ${{ matrix.os.name }}
uses: cross-platform-actions/action@v0.29.0
with:
operating_system: ${{ matrix.os.name }}
architecture: ${{ matrix.os.architecture }}
version: ${{ matrix.os.version }}
shell: bash
memory: 5G
cpu_count: 4
run: |
uname -a
if [[ "${{ matrix.os.name }}" == "haiku" ]]; then pkgman install -y rust_bin; fi;
if [[ "${{ matrix.os.name }}" == "freebsd" ]]; then export IGNORE_OSVERSION=yes; && sudo pkg install -y rust; fi;
cargo build
cargo test