From e4ddeb7bb722b50613108da1cb51a48e84068701 Mon Sep 17 00:00:00 2001 From: Lorenz Kästle Date: Thu, 9 Mar 2023 11:46:26 +0100 Subject: Add build pipeline as a precondition for full test --- .github/workflows/c-cpp.yml | 23 ----------------------- .github/workflows/test.yml | 16 ++++++++++++++-- 2 files changed, 14 insertions(+), 25 deletions(-) delete mode 100644 .github/workflows/c-cpp.yml diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml deleted file mode 100644 index 6c8b63c8..00000000 --- a/.github/workflows/c-cpp.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: C/C++ CI - -on: - push: - branches: [ "master" ] - pull_request: - branches: [ "master" ] - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - name: Install gettext - run: sudo apt-get install gettext - - name: setup - run: ./tools/setup - - name: CFLAGS="-Wall -Wextra -std=c90" configure - run: ./configure - - name: make - run: make diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 80d49f7e..60b60c3f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,9 +7,21 @@ on: pull_request: jobs: -# macos: -# ... + build-test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Install gettext + run: sudo apt-get install gettext + - name: setup + run: ./tools/setup + - name: CFLAGS="-Wall -Wextra -std=c90" configure + run: ./configure + - name: make + run: make + linux: + needs: build-test runs-on: ubuntu-latest name: Running tests on ${{ matrix.distro }} strategy: -- cgit v1.2.3-74-g34f1