Skip to content

Commit

Permalink
ci(fbsd): test release
Browse files Browse the repository at this point in the history
  • Loading branch information
hyoklee committed Apr 12, 2024
1 parent a4e6a3e commit 4450844
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/fbsd-d.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: fbsd d

on: [push, pull_request]

jobs:
test: # make sure the action works on a clean machine without building
name: ${{ matrix.os.name }} ${{ matrix.os.architecture }} ${{ matrix.os.version }} on ${{ matrix.os.host }}
runs-on: ${{ matrix.os.host }}
strategy:
fail-fast: false
matrix:
os:
- name: freebsd
architecture: x86-64
version: '14.0'
host: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4.1.1

- name: ${{ matrix.os.name }}
uses: cross-platform-actions/action@v0.23.0
with:
operating_system: ${{ matrix.os.name }}
architecture: ${{ matrix.os.architecture }}
version: '${{ matrix.os.version }}'
shell: bash
run: |
sudo pkg install -y git
sudo pkg install -y cmake
mkdir build
cd build
cmake \
-DBUILDNAME:STRING=d \
-D CTEST_DROP_SITE_INIT:STRING="my.cdash.org" \
-D SITE:STRING=fbsd ..
ctest -D Experimental -C Debug

0 comments on commit 4450844

Please sign in to comment.