Skip to content

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

pipeline: Try a haiku and freebsd build for fun

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

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 update && pkgman install rust-bin; fi;
if [[ "${{ matrix.os.name }}" == "freebsd" ]]; then IGNORE_OSVERSION=yes pkg update -f && IGNORE_OSVERSION=yes pkg install rust; fi;
cargo build
cargo test