mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-15 17:47:09 +00:00
889f8a5338
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
43 lines
1000 B
YAML
43 lines
1000 B
YAML
name: Build and test on macOS
|
|
on: [push, pull_request]
|
|
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 \
|
|
docbook2x \
|
|
freetype \
|
|
gettext \
|
|
imlib2 \
|
|
lcov \
|
|
librsvg \
|
|
libxft \
|
|
libxinerama \
|
|
lua
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
- name: Configure with CMake
|
|
run: |
|
|
set -x
|
|
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
|