Skip to content

Merge branch 'main' into config_sleep_time #196

Merge branch 'main' into config_sleep_time

Merge branch 'main' into config_sleep_time #196

on: [push]
jobs:
Backend-Client-Functional-Tests-CI:
runs-on: ubuntu-20.04
steps:
- name: Setup SSH Keys and known_hosts
env:
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
run: |
mkdir -p ~/.ssh
ssh-keyscan github.com >> ~/.ssh/known_hosts
ssh-agent -a $SSH_AUTH_SOCK > /dev/null
ssh-add - <<< "${{ secrets.DEPLOY_KEY }}"
- name: Check out the commit that triggered this job
uses: actions/checkout@v3
with:
path: ${{ github.event.repository.name }}
- name: Prepare github runner
env:
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
run: yes | sh nopayloadclient/scripts/prepare_github_runner.sh
- name: run nopayloadclient tests
run: |
cd nopayloadclient/build/
ctest --verbose
- name: test downstream lib (sphenixnpc)
env:
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
run: |
git clone [email protected]:ligerlac/sphenixnpc.git
cd sphenixnpc
cmake -DBUILD_TESTING=ON -S . -B build
cmake --build build/
cd build/
ctest --verbose
- name: test downstream lib (dunenpc)
env:
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
run: |
git clone [email protected]:ligerlac/dunenpc.git
cd dunenpc
cmake -DBUILD_TESTING=ON -S . -B build
cmake --build build/
cd build/
ctest --verbose