-
Notifications
You must be signed in to change notification settings - Fork 37
45 lines (42 loc) · 898 Bytes
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
---
name: Tests
on: [push, pull_request]
jobs:
Test-Randombytes:
runs-on: "${{ matrix.os }}"
strategy:
matrix:
cc:
- gcc
- clang
os:
- ubuntu-latest
- macos-latest
env:
CC: "${{ matrix.cc }}"
steps:
- uses: actions/checkout@v3
- run: |
make check
Test-Randombytes-Musl:
runs-on: ubuntu-latest
env:
CC: musl-gcc
steps:
- uses: actions/checkout@v3
- name: Install musl-tools
run: sudo apt-get install -y musl-tools
- run: make check
Test-Randombytes-Windows:
runs-on: windows-latest
strategy:
matrix:
arch:
- x64
- x86
steps:
- uses: actions/checkout@v3
- uses: ilammy/msvc-dev-cmd@v1
with:
arch: ${{ matrix.arch }}
- run: cl /c /nologo /W3 /WX randombytes.c