| 1 |
name: ci_ubuntu_latest |
| 2 |
|
| 3 |
on: [push, pull_request] |
| 4 |
|
| 5 |
jobs: |
| 6 |
build: |
| 7 |
|
| 8 |
runs-on: ubuntu-latest |
| 9 |
|
| 10 |
steps: |
| 11 |
- uses: actions/checkout@v3 |
| 12 |
- name: updating available system dependencies |
| 13 |
run: sudo apt-get update |
| 14 |
- name: installing system dependencies |
| 15 |
run: sudo apt-get install -y build-essential pkg-config automake libncurses5-dev autotools-dev libparted-dev libconfig-dev libconfig++-dev dmidecode |
| 16 |
- name: creating autoconf files |
| 17 |
run: ./autogen.sh |
| 18 |
- name: configuring |
| 19 |
run: ./configure CFLAGS='-O0 -g -Wall -Wextra' |
| 20 |
- name: compiling |
| 21 |
run: make |