From e4ddeb7bb722b50613108da1cb51a48e84068701 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lorenz=20K=C3=A4stle?= Date: Thu, 9 Mar 2023 11:46:26 +0100 Subject: Add build pipeline as a precondition for full test diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml deleted file mode 100644 index 6c8b63c..0000000 --- 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 80d49f7..60b60c3 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 v0.10-9-g596f