1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-09-29 13:39:10 +00:00
conky/.github/workflows/build-and-test-macos.yaml
2021-03-02 07:20:57 -06:00

39 lines
900 B
YAML

name: Build and test on macOS
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
os:
- macos-10.15
# - macos-11.0
runs-on: ${{ matrix.os }}
steps:
- name: Install dependencies
run: |
brew install \
docbook2x \
freetype \
gettext \
imlib2 \
lcov \
librsvg \
libxft \
libxinerama \
lua
- name: Checkout
uses: actions/checkout@v2
- name: Configure with CMake
run: |
mkdir build
cd build
cmake .. \
-DMAINTAINER_MODE=ON \
-DBUILD_TESTS=ON
- name: Compile
working-directory: build
run: make -j5
- name: Test
working-directory: build
run: make test