FEATURE: adding working directory to detailed process view #220
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: FreeBSD CMake | |
on: | |
push: | |
branches: main | |
tags-ignore: '*.*' | |
paths: | |
- '.github/workflows/cmake-freebsd.yml' | |
- 'CMakeLists.txt' | |
- 'include/**' | |
- 'src/*pp' | |
- 'src/freebsd/*pp' | |
pull_request: | |
branches: main | |
paths: | |
- '.github/workflows/cmake-freebsd.yml' | |
- 'CMakeLists.txt' | |
- 'include/**' | |
- 'src/*pp' | |
- 'src/freebsd/*pp' | |
jobs: | |
cmake_build_on_freebsd: | |
runs-on: ubuntu-22.04 | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Compile | |
uses: vmactions/freebsd-vm@v1 | |
with: | |
release: '14.0' | |
usesh: true | |
prepare: pkg install -y cmake ninja lowdown | |
run: | | |
CXX=clang++ cmake -B build -G Ninja -DBTOP_STATIC=ON | |
cmake --build build --verbose |