mirror of
https://github.com/michaelrsweet/pdfio.git
synced 2025-07-12 22:14:26 +02:00
Add Github workflow/sponsor info.
This commit is contained in:
36
.github/workflows/build.yml
vendored
Normal file
36
.github/workflows/build.yml
vendored
Normal file
@ -0,0 +1,36 @@
|
||||
name: Build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
build-linux:
|
||||
|
||||
runs-on: ubuntu-20.04
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: update build environment
|
||||
run: sudo apt-get update --fix-missing -y
|
||||
- name: install prerequisites
|
||||
run: sudo apt-get install -y zlib1g-dev
|
||||
- name: make
|
||||
run: make 'COMMONFLAGS="-g -fsanitize=address"'
|
||||
- name: test
|
||||
env:
|
||||
ASAN_OPTIONS: leak_check_at_exit=false
|
||||
run: make test
|
||||
|
||||
build-macos:
|
||||
|
||||
runs-on: macos-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: make
|
||||
run: make 'COMMONFLAGS="-g -fsanitize=address"'
|
||||
- name: test
|
||||
run: make test
|
Reference in New Issue
Block a user