1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-10-02 15:09:07 +00:00
conky/.github/workflows/build-and-test-macos.yaml
tranquillity-codes 4b8d5eb34a
Add an above-all overlay mode for own_window_type, utility (#1402)
* Add libXdamage to flake.nix

* Add TYPE_UTILITY as above-all alternative to TYPE_OVERRIDE

* Click-through for TYPE_UTILITY

* Added libxfixes to MacOS CI workflow

* Disable building of XFIXES on MacOS

* Fix build for xinerama/xfixes on macos.

* Update Lua version check.

* Tidy this up.

* Fix BUILD_XFIXES on Linux

* Sigh, fix this.

---------

Co-authored-by: tranquillity-codes <dev@itycodes.org>
Co-authored-by: Brenden Matthews <brenden@brndn.io>
2023-02-16 22:03:14 -05:00

51 lines
1.1 KiB
YAML

name: Build and test on macOS
on:
push:
branches:
- main
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
strategy:
matrix:
os:
- macos-11
- macos-12
runs-on: ${{ matrix.os }}
steps:
- name: Install dependencies
run: |
brew install \
cmake \
freetype \
gettext \
imlib2 \
lcov \
librsvg \
libxft \
libxinerama \
libxfixes \
lua \
ninja \
pkg-config
- name: Checkout
uses: actions/checkout@v3
- run: mkdir build
- name: Configure with CMake
working-directory: build
run: cmake .. -G Ninja \
-DMAINTAINER_MODE=ON \
-DBUILD_WAYLAND=OFF \
-DBUILD_TESTS=ON
- name: Compile
run: cmake --build build
- name: Test
working-directory: build
run: ctest