51 lines
1.2 KiB
YAML
51 lines
1.2 KiB
YAML
# ref: https://github.com/actions/runner-images
|
|
name: amd64 FreeBSD CMake
|
|
|
|
on: [workflow_dispatch]
|
|
|
|
concurrency:
|
|
group: ${{github.workflow}}-${{github.ref}}
|
|
cancel-in-progress: true
|
|
|
|
# Building using the github runner environement directly.
|
|
jobs:
|
|
vagrant:
|
|
strategy:
|
|
matrix:
|
|
distro: [
|
|
freebsd,
|
|
#netbsd,
|
|
#openbsd,
|
|
]
|
|
lang: [
|
|
cpp,
|
|
dotnet,
|
|
java,
|
|
python,
|
|
]
|
|
allow_failure: [true]
|
|
fail-fast: false
|
|
name: amd64•${{matrix.distro}}•CMake•${{matrix.lang}}
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- name: Virtualbox install
|
|
run: |
|
|
sudo apt update -q
|
|
sudo apt install -yq virtualbox
|
|
virtualbox --help
|
|
- name: Vagrant install
|
|
run: |
|
|
sudo apt update -q
|
|
wget https://releases.hashicorp.com/vagrant/2.4.7/vagrant_2.4.7-1_amd64.deb
|
|
sudo apt install -y ./vagrant_2.4.7-1_amd64.deb
|
|
vagrant --version
|
|
- name: Build
|
|
run: make --directory=cmake ${{matrix.distro}}_${{matrix.lang}}
|
|
|
|
amd64_bsd_cmake:
|
|
runs-on: ubuntu-latest
|
|
needs: vagrant
|
|
steps:
|
|
- uses: actions/checkout@v6
|