add compile workflow

add fuzzing instrumentation
This commit is contained in:
mhoffm
2021-07-01 00:22:20 +02:00
parent 0e7d8ddb4b
commit 808b2de94f
626 changed files with 5686 additions and 6 deletions

28
.github/workflows/build.yaml vendored Normal file
View File

@@ -0,0 +1,28 @@
name: build
on:
push:
jobs:
compile:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
compiler: [gcc, clang++]
name: compile
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- if: matrix.os == 'windows-latest' && matrix.compiler == 'clang++'
uses: KyleMayes/install-llvm-action@v1
with:
version: "11.0"
- if: matrix.os == 'windows-latest' && matrix.compiler == 'gcc'
uses: egor-tensin/setup-mingw@v2
- name: build
run: ${{ matrix.compiler }} -o scanner.o -I./src -c src/scanner.cc