mirror of
https://github.com/aristocratos/btop.git
synced 2024-10-01 23:51:34 +02:00
d8c054d92f
Building the man page is optional and happens automatically if command 'lowdown' is present on the system. Add it to all possible GitHub CI files so man page conversion will be tested and fully used. Unfortunately 'lowdown' cannot be added to the musl jobs the program is available only starting from Alpine v3.15, while the musl Docker images run Alpine v3.14 (and haven't been updated in 2+ years). Also, the Snap build used Ubuntu 20.04 "Focal" which equally is too old to include Lowdown, which is available only from Ubuntu 22.04 "Jammy" onward: https://packages.ubuntu.com/search?suite=all&searchon=names&keywords=lowdown
40 lines
947 B
YAML
40 lines
947 B
YAML
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
|