Skip to content

try to use winget

try to use winget #79

Workflow file for this run

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

Check failure on line 28 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yml

Invalid workflow file

You have an error in your yaml syntax on line 28
- name: build on windows
if: runner.os == 'windows'
run: |
# pacman --noconfirm -S nasm
winget insatll nasm
make clean
make
go test -v ./bls