-
-
Notifications
You must be signed in to change notification settings - Fork 41
36 lines (35 loc) · 810 Bytes
/
main.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
name: test
on: [push]
jobs:
build:
name: test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v3
# - run: go test -v ./bls
- run: git submodule update --init --recursive
- name: build on linux
if: runner.os == 'Linux'
run: |
sudo apt install nasm
make clean
make CXX=clang++
go test -v ./bls
- name: build on mac
if: runner.os == 'macOS'
run: |
brew install nasm
make clean
make
go test -v ./bls
- name: build on windows
if: runner.os == 'windows'
run: |
# pacman --noconfirm -S nasm
winget insatll nasm
make clean
make
go test -v ./bls