| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- name: NRPE Tests
- on:
- push:
- branches: [ "master" ]
- pull_request:
- branches: [ "master" ]
- jobs:
- build_and_test:
- runs-on: ubuntu-latest
- steps:
- - name: Checkout
- uses: actions/checkout@v4
- with:
- path: nrpe
- - name: configure
- run: |
- mkdir build
- cd build
- ../nrpe/configure
- - name: build
- run: |
- cd build
- make all
- - name: configure [no ssl]
- run: |
- mkdir build_nossl
- cd build_nossl
- ../nrpe/configure --disable-ssl
- - name: build [no ssl]
- run: |
- cd build_nossl
- make all
- - name: install test prerequisites
- run: |
- sudo apt-get -y install libio-socket-ssl-perl libdigest-crc-perl
- - name: test
- run: |
- cd build
- make test
- - name: test [no ssl]
- run: |
- cd build_nossl
- make test
|