2021-05-13 04:30:10 +08:00
|
|
|
name: CI
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ master ]
|
|
|
|
pull_request:
|
|
|
|
branches: [ master ]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
test:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- run: ./autogen.sh
|
|
|
|
- run: ./configure
|
|
|
|
- run: make
|
|
|
|
- run: make test
|
2021-05-13 05:16:23 +08:00
|
|
|
test-macos:
|
|
|
|
runs-on: macos-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- run: brew install automake
|
|
|
|
- run: ./autogen.sh
|
|
|
|
- run: ./configure
|
|
|
|
- run: make
|
2021-05-13 04:44:39 +08:00
|
|
|
valgrind-test:
|
|
|
|
runs-on: ubuntu-latest
|
2021-05-13 04:30:10 +08:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
2023-10-15 18:50:48 +08:00
|
|
|
- run: sudo apt update
|
|
|
|
- run: sudo apt install --assume-yes valgrind
|
2021-05-13 04:30:10 +08:00
|
|
|
- run: ./autogen.sh
|
|
|
|
- run: ./configure --enable-debug --enable-transparent --enable-reverse
|
|
|
|
- run: make
|
|
|
|
- run: make test
|
|
|
|
- run: make valgrind-test
|