Skip to content

Add RP2350 RISC-V (Hazard3) target + ESP32-P4 RAM-budget CI #121

Add RP2350 RISC-V (Hazard3) target + ESP32-P4 RAM-budget CI

Add RP2350 RISC-V (Hazard3) target + ESP32-P4 RAM-budget CI #121

name: BSD, Haiku, OmniOS
on: [ push, pull_request ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
operating_system: [ dragonflybsd, freebsd, haiku, midnightbsd, netbsd, omnios, openbsd ]
architecture: [ arm64, x86-64 ]
include:
- operating_system: dragonflybsd
version: '6.4.2'
pkginstall: |
sudo pkg update
sudo pkg install -y cmake ninja
- operating_system: freebsd
version: '15.1'
pkginstall: |
sudo pkg upgrade -y
sudo pkg install -y cmake ninja
- operating_system: haiku
version: 'r1beta6'
pkginstall: |
pkgman update -y
pkgman install -y cmake ninja
- operating_system: midnightbsd
version: '4.0.4'
pkginstall: |
sudo mport upgrade
sudo mport install cmake ninja || true
- operating_system: netbsd
version: '11.0'
pkginstall: |
sudo pkgin update
sudo pkgin -y install clang cmake ninja-build
- operating_system: omnios
version: 'r151058'
pkginstall: |
sudo pkg refresh
sudo pkg install build-essential cmake ninja
- operating_system: openbsd
version: '7.9'
pkginstall: |
sudo pkg_add -u
sudo pkg_add cmake ninja
exclude:
- operating_system: dragonflybsd
architecture: arm64
- operating_system: haiku
architecture: arm64
- operating_system: midnightbsd
architecture: arm64
- operating_system: omnios
architecture: arm64
steps:
- uses: actions/checkout@v7
- name: Start VM
uses: cross-platform-actions/action@v1
with:
operating_system: ${{ matrix.operating_system }}
architecture: ${{ matrix.architecture }}
version: ${{ matrix.version }}
- name: Set up build environment
run: ${{ matrix.pkginstall }}
shell: cpa.sh {0}
- name: Configure CMake
run: cmake -B build -DCMAKE_BUILD_TYPE=Release -G Ninja
shell: cpa.sh {0}
- name: Build
run: cmake --build build --config Release
shell: cpa.sh {0}