[win] install nasm #78
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: 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 | |
make clean | |
make | |
go test -v ./bls |