diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci_formatting.yml | 21 | ||||
-rw-r--r-- | .github/workflows/ci_ubuntu_latest.yml | 21 |
2 files changed, 42 insertions, 0 deletions
diff --git a/.github/workflows/ci_formatting.yml b/.github/workflows/ci_formatting.yml new file mode 100644 index 0000000..af5ba3a --- /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@v3 + - 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 libconfig-dev libconfig++-dev dmidecode clang-format + - 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_latest.yml b/.github/workflows/ci_ubuntu_latest.yml new file mode 100644 index 0000000..e397dce --- /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@v3 + - 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 libconfig-dev libconfig++-dev dmidecode + - name: creating autoconf files + run: ./autogen.sh + - name: configuring + run: ./configure CFLAGS='-O0 -g -Wall -Wextra' + - name: compiling + run: make |