Skip to content

Commit f7a7987

Browse files
authored
Merge pull request #83 from jvoisin/alpine
Add a muls-based distribution in the CI
2 parents 5b32b22 + c0ba92f commit f7a7987

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

.github/workflows/testsuite.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,15 @@ jobs:
5555
- uses: actions/checkout@v2
5656
- run: make tests CC=gcc CXX=g++
5757
- run: make cpp_tests CC=gcc CXX=g++
58+
testsuite-musl:
59+
runs-on: ubuntu-latest
60+
container:
61+
image: alpine:latest
62+
steps:
63+
- uses: actions/checkout@v2
64+
- run: apk update && apk add build-base bash musl-dev
65+
- run: make tests CC=gcc CXX=g++
66+
- run: make cpp_tests CC=gcc CXX=g++
5867

5968

6069

src/iso_alloc_random.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* https://github.com/struct/isoalloc/pull/5 */
66

77
#if __linux__
8-
#include <linux/random.h>
8+
#define GRND_NONBLOCK 0x0001
99
#include <sys/syscall.h>
1010
#elif __APPLE__
1111
#include <Security/SecRandom.h>

0 commit comments

Comments
 (0)