build #1502
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: build | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
schedule: | |
- cron: "0 3 * * *" | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [macos-latest, macos-12, ubuntu-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: make build | |
run: make build | |
- name: make check | |
run: make check | |
- name: make test-verify | |
run: make test-verify | |
- name: make examples | |
run: make examples | |
build-san: | |
strategy: | |
matrix: | |
os: [macos-latest, macos-12, ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: make buildsan | |
run: make buildsan | |
- name: make checksan | |
run: make checksan | |
build-bat: | |
strategy: | |
matrix: | |
arch: [amd64,x86] | |
runs-on: windows-2019 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: tools\cibuild.bat ${{ matrix.arch }} | |
run: tools\cibuild.bat ${{ matrix.arch }} | |
- name: make check | |
run: make check |