]> git.ipfire.org Git - thirdparty/collectd.git/commitdiff
Create build.yml (#3911)
authorMatthias Runge <mrunge@redhat.com>
Thu, 9 Sep 2021 16:33:31 +0000 (18:33 +0200)
committerGitHub <noreply@github.com>
Thu, 9 Sep 2021 16:33:31 +0000 (18:33 +0200)
* Create build.yml

.github/workflows/build.yml [new file with mode: 0644]

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644 (file)
index 0000000..30c3de2
--- /dev/null
@@ -0,0 +1,26 @@
+name: Build
+
+on:
+  push:
+    branches: [ main ]
+  pull_request:
+    branches: [ main ]
+
+jobs:
+  build:
+
+    runs-on: ubuntu-latest
+
+    steps:
+    - uses: actions/checkout@v2
+    - name: Generate configure script
+      run:
+        ./build.sh
+    - name: configure
+      run: ./configure
+    - name: make
+      run: make
+    - name: make check
+      run: make check
+    - name: make distcheck
+      run: make distcheck