aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/build.yml
diff options
context:
space:
mode:
authorEric Curtin <ericcurtin17@gmail.com>2020-01-28 17:27:25 +0000
committerEric Curtin <ericcurtin17@gmail.com>2020-01-28 17:27:25 +0000
commit298fb6acd3ace345333acb45bc4df4cfa03052cb (patch)
tree0fee92cb0aa1c9582340d6750fd089a249bf3887 /.github/workflows/build.yml
parent79980baa2ec8db668a8724b5b115db548ea83cc8 (diff)
downloadinotify-tools-298fb6acd3ace345333acb45bc4df4cfa03052cb.zip
inotify-tools-298fb6acd3ace345333acb45bc4df4cfa03052cb.tar.gz
inotify-tools-298fb6acd3ace345333acb45bc4df4cfa03052cb.tar.bz2
De-duplicate build_and_test script
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r--.github/workflows/build.yml28
1 files changed, 4 insertions, 24 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 9dbd806..3bb9926 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -9,18 +9,8 @@ jobs:
steps:
- uses: actions/checkout@v1
- - name: gcc build
- run: git clean -fdx && export CC=gcc && ./autogen.sh && ./configure && make -j2
- - name: unit test
- run: cd ./libinotifytools/src/ && make -j2 test && ./test
- - name: integration test
- run: cd t && make -j2
- - name: clang build
- run: git clean -fdx && export CC=clang && ./autogen.sh && ./configure && make -j2
- - name: unit test
- run: cd ./libinotifytools/src/ && make -j2 test && ./test
- - name: integration test
- run: cd t && make -j2
+ - name: build_and_test
+ run: ./build_and_test.sh
build-1804:
@@ -28,16 +18,6 @@ jobs:
steps:
- uses: actions/checkout@v1
- - name: gcc build
- run: git clean -fdx && export CC=gcc && ./autogen.sh && ./configure && make -j2
- - name: unit test
- run: cd ./libinotifytools/src/ && make -j2 test && ./test
- - name: integration test
- run: cd t && make -j2
- - name: clang build
- run: git clean -fdx && export CC=clang && ./autogen.sh && ./configure && make -j2
- - name: unit test
- run: cd ./libinotifytools/src/ && make -j2 test && ./test
- - name: integration test
- run: cd t && make -j2
+ - name: build_and_test
+ run: ./build_and_test.sh