SSH - handle ssh-keyscan STDERR or STDOUT results (#412) #91
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Test | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: | |
- ubuntu-20.04 | |
- ubuntu-latest | |
# no libssl on windows | |
# - windows-latest | |
fail-fast: false | |
name: ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: CPAN Cache | |
id: cpan-cache | |
uses: actions/cache@v3 | |
with: | |
path: thirdparty | |
key: ${{ matrix.os }}-cpan-{{ hashFiles('**/cpanfile') }} | |
- name: Install dependencies | |
run: sudo apt-get install librrds-perl rrdtool dma | |
- name: Bootstrap | |
run: ./bootstrap | |
- name: Configure | |
run: ./configure --prefix=$HOME/test-install | |
- name: Make | |
run: make | |
- name: Dist | |
run: make dist | |
- name: Check Dist | |
run: | | |
make dist | |
tar xf *-$(cat VERSION).tar.gz | |
cd *-$(cat VERSION) | |
./configure --prefix=$HOME/test-install | |
cp -rp ../thirdparty/lib thirdparty/ | |
make | |
make install | |
cd $HOME/test-install | |
./bin/smokeping --version | |
- name: Cache Prep | |
run: | | |
rm -rf thirdparty/Makefile* thirdparty/work |