commit 38366495fd5a7ac8399f46008846a65fa9954414
parent f28b84327d0554664249d87238a1285a3665c45b
Author: Friedel Schön <[email protected]>
Date: Fri, 2 Jun 2023 17:54:26 +0200
adding GH workflow
Diffstat:
3 files changed, 48 insertions(+), 16 deletions(-)
diff --git a/.github/workflows/c-build.yml b/.github/workflows/c-build.yml
@@ -1,16 +0,0 @@
-name: C/C++ CI
-
-on:
- push:
- branches: ["master"]
- pull_request:
- branches: ["master"]
-
-jobs:
- build:
- runs-on: ubuntu-latest
-
- steps:
- - uses: actions/checkout@v3
- - name: Build Binaries
- run: make binary
diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml
@@ -0,0 +1,16 @@
+name: Build
+
+on:
+ push:
+ branches: ["master"]
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: Checkout Repository
+ uses: actions/checkout@v3
+
+ - name: Build Binaries
+ run: make binary
diff --git a/.github/workflows/manual.yml b/.github/workflows/manual.yml
@@ -0,0 +1,31 @@
+name: Build
+
+on:
+ push:
+ branches: ["master"]
+ paths: [ "src/docs", "src/man" ]
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: Checkout Repository
+ uses: actions/checkout@v3
+
+ - name: Set up Python3
+ uses: actions/setup-python@v4
+
+ - name: Build Documentation
+ run: make documentation
+
+ - name: Build Manuals
+ run: make manual
+
+ - name: Commit changes
+ uses: EndBug/add-and-commit@v9
+ with:
+ author_name: Friedel Schon
+ author_email: [email protected]
+ message: 'adding manuals and documentation'
+ add: 'docs/ man/'
+\ No newline at end of file