forked from OPENDAP/libdap4
-
Notifications
You must be signed in to change notification settings - Fork 0
53 lines (40 loc) · 1.19 KB
/
asan.yml
File metadata and controls
53 lines (40 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# This is the asan build stage from .travis.yml
name: asan
env:
prefix: ${{ github.workspace }}/build
jobs: 16
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
ubuntu-build:
runs-on: ubuntu-16.04
steps:
- name: Packages
run: sudo apt-get --yes install libxml2-dev uuid-dev libcurl4-openssl-dev libcppunit-dev
- name: cache-bison
id: cache-bison #id is required for the if below, not key
uses: actions/cache@v2
with:
path: $prefix/deps
key: bison-${{ runner.os }}
- name: build bison dependency
if: steps.cache-bison.outputs.cache-hit != 'true'
run: |
pwd
git clone https://github.com/OPENDAP/hyrax-dependencies
cd hyrax-dependencies
make --jobs=$jobs bison
- name: checkout
uses: actions/checkout@v2
- name: autoreconf
run: autoreconf --force --install --verbose
- name: configure
run: ./configure --prefix=$prefix --enable-developer --enable-asan
- name: Make
run: make -j7
- name: Check
run: make -j7 check