add meson.project() for modules to get proj info #131
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SPDX-FileCopyrightText: Stone Tickle <[email protected]> | |
# SPDX-License-Identifier: GPL-3.0-only | |
name: macos | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
types: [opened, synchronize, reopened] | |
permissions: | |
contents: read | |
jobs: | |
macos: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: bootstrap_deps | |
run: | | |
set -x | |
CFLAGS=-DNO_GETLOADAVG tools/bootstrap_ninja.sh build | |
curl -L -o build/pkgconf-1.9.3.tar.gz https://github.com/pkgconf/pkgconf/archive/refs/tags/pkgconf-1.9.3.tar.gz | |
tar xvf build/pkgconf-1.9.3.tar.gz | |
mv pkgconf-pkgconf-1.9.3 subprojects/pkgconf | |
- name: bootstrap | |
run: | | |
./bootstrap.sh build | |
PATH="build:$PATH" CFLAGS=-DNO_GETLOADAVG build/muon setup -Dsamurai=enabled build | |
build/samu -C build | |
- name: test | |
run: | | |
build/muon -C build test || true |