Merge pull request #168 from pakesson-truesec/fix-typos-in-wireshark-… #475
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
# | |
# Copyright (c) 2020-2024 Siddharth Chandrasekaran <[email protected]> | |
# | |
# SPDX-License-Identifier: Apache-2.0 | |
# | |
name: Build CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
CmakeBuild: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
with: | |
submodules: recursive | |
- name: configure | |
run: | | |
cmake -DCMAKE_BUILD_TYPE=Debug . | |
- name: make | |
run: VERBOSE=1 make | |
- name: pacakge | |
run: | | |
make package | |
make package_source | |
rm -rf ./packages/_CPack_Packages/ | |
rm -f ./packages/*.tar.bz2 | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: libosdp-ci-binaries.zip | |
path: ./packages/ | |
MakeBuild: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
with: | |
submodules: recursive | |
- name: configure | |
run: | | |
./configure.sh | |
- name: make | |
run: make V=1 | |
Test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
with: | |
submodules: recursive | |
- name: configure | |
run: cmake . | |
- name: pytest | |
run: | | |
./tests/pytest/run.sh | |
- name: unit-tests | |
run: | | |
make check-ut | |
CheckPatch: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
with: | |
submodules: recursive | |
- name: ClangFormatCheck | |
run: | | |
./scripts/clang-format-check.sh | |
Python: | |
name: Python | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Install pypa/build | |
run: | | |
python3 -m pip install build --user | |
- name: Build a binary wheel and a source tarball | |
run: | | |
pushd python | |
python3 -m build | |
- name: Store the distribution packages | |
uses: actions/upload-artifact@v3 | |
with: | |
name: python-package-distributions | |
path: python/dist/ |