mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 05:35:35 +00:00
43 lines
1.1 KiB
YAML
43 lines
1.1 KiB
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: dependencies
|
|
run: sudo apt-get update && sudo apt-get install libpcaudio-dev libsonic-dev ronn kramdown
|
|
- name: autoconf
|
|
run: ./autogen.sh ; chmod -x INSTALL m4/*.m4
|
|
- name: configure
|
|
run: ./configure
|
|
- name: make
|
|
run: make
|
|
- name: make check
|
|
run: make check
|
|
|
|
usan:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: dependencies
|
|
run: sudo apt-get update && sudo apt-get install libpcaudio-dev libsonic-dev ronn kramdown
|
|
- name: autoconf
|
|
run: ./autogen.sh ; chmod -x INSTALL m4/*.m4
|
|
- name: configure
|
|
run: CXXFLAGS="-fsanitize=address -g -Og" CFLAGS="-fsanitize=address -g -Og" ./configure
|
|
- name: make
|
|
run: ASAN_OPTIONS="detect_leaks=0 new_delete_type_mismatch=0" make
|
|
- name: make check
|
|
run: ASAN_OPTIONS="detect_leaks=0 new_delete_type_mismatch=0" make check
|