diff options
| -rw-r--r-- | .github/workflows/c-cpp.yml | 23 | ||||
| -rw-r--r-- | .github/workflows/test.yml | 16 |
2 files changed, 14 insertions, 25 deletions
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 @@ | |||
| 1 | name: C/C++ CI | ||
| 2 | |||
| 3 | on: | ||
| 4 | push: | ||
| 5 | branches: [ "master" ] | ||
| 6 | pull_request: | ||
| 7 | branches: [ "master" ] | ||
| 8 | |||
| 9 | jobs: | ||
| 10 | build: | ||
| 11 | |||
| 12 | runs-on: ubuntu-latest | ||
| 13 | |||
| 14 | steps: | ||
| 15 | - uses: actions/checkout@v3 | ||
| 16 | - name: Install gettext | ||
| 17 | run: sudo apt-get install gettext | ||
| 18 | - name: setup | ||
| 19 | run: ./tools/setup | ||
| 20 | - name: CFLAGS="-Wall -Wextra -std=c90" configure | ||
| 21 | run: ./configure | ||
| 22 | - name: make | ||
| 23 | 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: | |||
| 7 | pull_request: | 7 | pull_request: |
| 8 | 8 | ||
| 9 | jobs: | 9 | jobs: |
| 10 | # macos: | 10 | build-test: |
| 11 | # ... | 11 | runs-on: ubuntu-latest |
| 12 | steps: | ||
| 13 | - uses: actions/checkout@v3 | ||
| 14 | - name: Install gettext | ||
| 15 | run: sudo apt-get install gettext | ||
| 16 | - name: setup | ||
| 17 | run: ./tools/setup | ||
| 18 | - name: CFLAGS="-Wall -Wextra -std=c90" configure | ||
| 19 | run: ./configure | ||
| 20 | - name: make | ||
| 21 | run: make | ||
| 22 | |||
| 12 | linux: | 23 | linux: |
| 24 | needs: build-test | ||
| 13 | runs-on: ubuntu-latest | 25 | runs-on: ubuntu-latest |
| 14 | name: Running tests on ${{ matrix.distro }} | 26 | name: Running tests on ${{ matrix.distro }} |
| 15 | strategy: | 27 | strategy: |
