From 767340195f8369ce24eef8e8ed4c4377ff6728bc Mon Sep 17 00:00:00 2001 From: Lennart Martens Date: Sun, 29 Jun 2025 12:27:31 +0200 Subject: [PATCH 1/3] Create c-cpp.yml --- .github/workflows/c-cpp.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/c-cpp.yml diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml new file mode 100644 index 0000000..6a9c312 --- /dev/null +++ b/.github/workflows/c-cpp.yml @@ -0,0 +1,23 @@ +name: C/C++ CI + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: configure + run: ./configure + - name: make + run: make + - name: make check + run: make check + - name: make distcheck + run: make distcheck From 835be26eda2058c9cfa695132f04c57d48036b78 Mon Sep 17 00:00:00 2001 From: Lennart Martens Date: Sun, 29 Jun 2025 12:29:12 +0200 Subject: [PATCH 2/3] Update c-cpp.yml --- .github/workflows/c-cpp.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 6a9c312..e437959 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -12,12 +12,6 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - name: configure - run: ./configure + - uses: actions/checkout@v4 - name: make - run: make - - name: make check - run: make check - - name: make distcheck - run: make distcheck + run: make From f715474b6118198df83c893bd9f4791b09e78fcd Mon Sep 17 00:00:00 2001 From: Lennart Martens Date: Sun, 29 Jun 2025 12:36:10 +0200 Subject: [PATCH 3/3] Update c-cpp.yml --- .github/workflows/c-cpp.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index e437959..93c3ef3 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -15,3 +15,7 @@ jobs: - uses: actions/checkout@v4 - name: make run: make + +permissions: + contents: read + pull-requests: write