| 2 |
|
|
| 3 |
on: |
on: |
| 4 |
push: |
push: |
| 5 |
branches: [ "main" ] |
branches: |
| 6 |
|
- "main" |
| 7 |
|
- "v*.*" |
| 8 |
pull_request: |
pull_request: |
| 9 |
branches: [ "main" ] |
branches: |
| 10 |
|
- "main" |
| 11 |
|
|
| 12 |
|
concurrency: |
| 13 |
|
group: ${{ github.workflow }}-${{ github.ref }} |
| 14 |
|
cancel-in-progress: true |
| 15 |
|
|
| 16 |
jobs: |
jobs: |
| 17 |
build: |
build: |
| 22 |
- uses: actions/checkout@v4 |
- uses: actions/checkout@v4 |
| 23 |
|
|
| 24 |
- name: autogen |
- name: autogen |
| 25 |
run: sh autogen.sh |
run: autoreconf --install --force |
| 26 |
|
|
| 27 |
|
- name: Install dependencies |
| 28 |
|
run: | |
| 29 |
|
sudo apt-get update |
| 30 |
|
sudo apt-get install -y libssh-dev libsystemd-dev |
| 31 |
|
|
| 32 |
- name: configure |
- name: configure |
| 33 |
run: ./configure |
run: ./configure |
| 34 |
|
|
| 35 |
- name: Install dependencies |
- name: Run make |
| 36 |
run: make |
run: make |
| 37 |
|
|
| 38 |
- name: Run check |
- name: Run check |