]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
Add github CI
authorMichael Schroeder <mls@suse.de>
Mon, 7 Mar 2022 13:41:51 +0000 (14:41 +0100)
committerMichael Schroeder <mls@suse.de>
Mon, 7 Mar 2022 13:41:51 +0000 (14:41 +0100)
.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..16975c0
--- /dev/null
@@ -0,0 +1,29 @@
+---
+name: CI
+
+on:
+  push:
+    branches:
+      - master
+      - 0.6.x
+  pull_request:
+    branches:
+      - master
+
+jobs:
+  build:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v2
+      - name: Setup
+        run:  |
+          sudo apt-get install cmake
+      - name: Build
+        run:  |
+          mkdir build
+          cd build
+          cmake -DDEBIAN=1 -DMULTI_SEMANTICS=1 ..
+          make
+      - name: Test
+        run:  |
+          make test