summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 16:00:33 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 16:00:33 +0000
commit96fcf3ea3a51071dfeca141b7c9b0e5e3e5365a8 (patch)
tree51d766882e3eacda67f6a3b0df8ae3df7d157e20 /.github
parentInitial commit. (diff)
downloadnwipe-96fcf3ea3a51071dfeca141b7c9b0e5e3e5365a8.tar.xz
nwipe-96fcf3ea3a51071dfeca141b7c9b0e5e3e5365a8.zip
Adding upstream version 0.34.upstream/0.34upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci_formatting.yml21
-rw-r--r--.github/workflows/ci_ubuntu_18.04.yml21
-rw-r--r--.github/workflows/ci_ubuntu_latest.yml21
3 files changed, 63 insertions, 0 deletions
diff --git a/.github/workflows/ci_formatting.yml b/.github/workflows/ci_formatting.yml
new file mode 100644
index 0000000..e9efc06
--- /dev/null
+++ b/.github/workflows/ci_formatting.yml
@@ -0,0 +1,21 @@
+name: ci_formatting
+
+on: [push, pull_request]
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v1
+ - name: updating available system dependencies
+ run: sudo apt-get update
+ - name: installing system dependencies
+ run: sudo apt-get install -y build-essential pkg-config automake libncurses5-dev autotools-dev libparted-dev dmidecode clang-format-7
+ - name: creating autoconf files
+ run: ./autogen.sh
+ - name: configuring
+ run: ./configure CFLAGS='-O0 -g -Wall -Wextra'
+ - name: verifying code style
+ run: make check-format
diff --git a/.github/workflows/ci_ubuntu_18.04.yml b/.github/workflows/ci_ubuntu_18.04.yml
new file mode 100644
index 0000000..5215dd2
--- /dev/null
+++ b/.github/workflows/ci_ubuntu_18.04.yml
@@ -0,0 +1,21 @@
+name: ci_ubuntu_18.04
+
+on: [push, pull_request]
+
+jobs:
+ build:
+
+ runs-on: ubuntu-18.04
+
+ steps:
+ - uses: actions/checkout@v1
+ - name: updating available system dependencies
+ run: sudo apt-get update
+ - name: installing system dependencies
+ run: sudo apt-get install -y build-essential pkg-config automake libncurses5-dev autotools-dev libparted-dev dmidecode
+ - name: creating autoconf files
+ run: ./autogen.sh
+ - name: configuring
+ run: ./configure CFLAGS='-O0 -g -Wall -Wextra'
+ - name: compiling
+ run: make
diff --git a/.github/workflows/ci_ubuntu_latest.yml b/.github/workflows/ci_ubuntu_latest.yml
new file mode 100644
index 0000000..7da1d70
--- /dev/null
+++ b/.github/workflows/ci_ubuntu_latest.yml
@@ -0,0 +1,21 @@
+name: ci_ubuntu_latest
+
+on: [push, pull_request]
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v1
+ - name: updating available system dependencies
+ run: sudo apt-get update
+ - name: installing system dependencies
+ run: sudo apt-get install -y build-essential pkg-config automake libncurses5-dev autotools-dev libparted-dev dmidecode
+ - name: creating autoconf files
+ run: ./autogen.sh
+ - name: configuring
+ run: ./configure CFLAGS='-O0 -g -Wall -Wextra'
+ - name: compiling
+ run: make