SWPTP-1532: reduce ntp mode7 client timeout from 1s to 300ms #203
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
# SPDX-License-Identifier: BSD-3-Clause | |
# X-SPDX-Copyright-Text: (c) Copyright 2023 Advanced Micro Devices, Inc. | |
name: "Fast checks" | |
on: [push, pull_request] | |
jobs: | |
build_and_test: | |
name: Unit tests and build | |
runs-on: ubuntu-latest | |
steps: | |
- name: sfptpd_checkout | |
uses: actions/checkout@v4 | |
with: | |
path: sfptpd-src | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y libmnl-dev | |
- name: build | |
run: | | |
cd $GITHUB_WORKSPACE/sfptpd-src | |
make -j 2 | |
- name: test | |
run: | | |
cd $GITHUB_WORKSPACE/sfptpd-src | |
make -j 2 fast_test |