CMake: Use #cmakedefine01 for APU_USE_EXPAT, APU_USE_LIBXML2 and APU_… #626
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
name: macOS | |
on: | |
push: | |
branches: [ "*" ] | |
tags: [ "*" ] | |
pull_request: | |
branches: [ "trunk" ] | |
env: | |
MARGS: "-j2" | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [ "macos-latest" ] | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 15 | |
env: | |
NOTEST_CFLAGS: ${{ matrix.notest-cflags }} | |
name: ${{ matrix.name }} | |
steps: | |
- name: Install prerequisites | |
run: brew install libtool autoconf make bash | |
- uses: actions/checkout@v4 | |
- name: buildconf | |
run: ./buildconf | |
- name: configure | |
run: ./configure | |
- name: make | |
run: make $MARGS | |
- name: make check | |
run: make check || true |