Skip to content

cmake/config: set HAVE_THREADS only if threads.h #1689

cmake/config: set HAVE_THREADS only if threads.h

cmake/config: set HAVE_THREADS only if threads.h #1689

Workflow file for this run

name: Alpine (musl)
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
container: alpine
env:
CMAKE_GENERATOR: Ninja
steps:
- uses: actions/checkout@v3
- name: install devel tools
run: |
apk add musl-dev git cmake gcc make binutils openssl-dev linux-headers zlib-dev ninja
- name: make
run: |
cmake -B build -DCMAKE_C_FLAGS="-Werror"
cmake --build build -j