diff options
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r-- | .github/workflows/build.yml | 28 |
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 |