]> jfr.im git - irc/ircd-hybrid/hopm.git/commitdiff
- .github/workflows: add rudimentary ci.yml
authormichael <redacted>
Mon, 14 Jun 2021 21:20:01 +0000 (21:20 +0000)
committermichael <redacted>
Mon, 14 Jun 2021 21:20:01 +0000 (21:20 +0000)
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/branches/1.1.x@9975 82007160-df01-0410-b94d-b575c5fd34c7

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

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644 (file)
index 0000000..904ca85
--- /dev/null
@@ -0,0 +1,24 @@
+name: CI
+
+on: [push, pull_request]
+
+jobs:
+  build:
+    runs-on: ubuntu-latest
+    timeout-minutes: 10
+
+    strategy:
+      matrix:
+        compiler: [gcc, clang]
+
+    env:
+      CC: ${{ matrix.compiler }}
+
+    steps:
+    - uses: actions/checkout@v2
+    - name: configure
+      run: ./configure --enable-warnings
+    - name: make
+      run: make -j$(nproc)
+    - name: make install
+      run: sudo make install