04b7641e85
- Add x11proto to redbear-full.toml package list - libxau recipe updated with x11proto dependency and custom build script - Fixes libxau build failure: 'Package xproto was not found'
46 lines
1.2 KiB
YAML
46 lines
1.2 KiB
YAML
name: macos
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
# Set permissions at the job level.
|
|
permissions: {}
|
|
|
|
jobs:
|
|
macos:
|
|
runs-on: macos-12
|
|
permissions:
|
|
contents: read
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
persist-credentials: false
|
|
- uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.12'
|
|
- name: Install dependencies
|
|
run: |
|
|
brew install bison libxml2 meson ninja pyyaml xkeyboardconfig xorg-server
|
|
brew link bison --force
|
|
env:
|
|
HOMEBREW_NO_AUTO_UPDATE: 1
|
|
HOMEBREW_NO_INSTALL_CLEANUP: 1
|
|
- name: Setup
|
|
run: |
|
|
PATH="/usr/local/opt/bison/bin:${PATH}" \
|
|
meson setup \
|
|
-Denable-wayland=false \
|
|
-Denable-x11=true \
|
|
-Dxkb-config-root="$(brew --prefix xkeyboardconfig)/share/X11/xkb" \
|
|
-Dx-locale-root="$(brew --prefix xorg-server)/share/X11/locale" \
|
|
build
|
|
- name: Build
|
|
run: |
|
|
PATH="/usr/local/opt/bison/bin:${PATH}" meson compile -C build
|
|
- name: Test
|
|
run: |
|
|
meson test -C build --print-errorlogs
|