Quicly hotfix pcb - fix chksum verify #899
Workflow file for this run
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: Smoke Test | |
on: | |
pull_request: | |
branches: [ main ] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
Smoke: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v2 | |
- name: Install packages | |
run: | | |
sudo apt-get update && sudo apt-get install -y\ | |
build-essential libbsd-dev libelf-dev libjson-c-dev\ | |
libnl-3-dev libnl-cli-3-dev libnuma-dev libpcap-dev meson\ | |
pkg-config wget | |
- name: Install libbpf | |
run: | | |
wget -q -O - https://github.com/libbpf/libbpf/archive/refs/tags/v0.5.0.tar.gz \ | |
| tar -xzC ${GITHUB_WORKSPACE} \ | |
&& sudo make -j -C ${GITHUB_WORKSPACE}/libbpf-0.5.0/src install \ | |
&& sudo rm -rf ${GITHUB_WORKSPACE}/libbpf-0.5.0 | |
- name: Build | |
run: make | |
- name: Short test | |
run: meson test -C builddir --suite short | |
- name: Upload testlog | |
uses: actions/upload-artifact@v3 | |
if: success() || failure() | |
with: | |
name: testlog.txt | |
path: ${{ github.workspace }}/builddir/meson-logs/testlog.txt |