Skip to content

manual testing

manual testing #66

Workflow file for this run

# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-FileCopyrightText: Copyright © 2023 Erez Geva <ErezGeva2@gmail.com>
#
# @author Erez Geva <ErezGeva2@@gmail.com>
# @copyright © 2023 Erez Geva
#
# Manual tesings
# - Test with linuxptp and clock simulated network
# - Address Sanitizer with Linuxptp and clock simulated network
# - Address Sanitizer and valgrid with unit tests
###############################################################################
name: manual testing
# Start manually
on: workflow_dispatch
env:
USER: builder
jobs:
full:
runs-on: ubuntu-24.04
container:
image: ghcr.io/erezgeva/deb.trixie:latest
steps:
- name: checkout linuxptp repository
uses: actions/checkout@v4
with:
repository: nwtime/linuxptp
path: linuxptp
- name: checkout repository
uses: actions/checkout@v4
with:
path: libptpmgmt
- name: test with linuxptp
run: libptpmgmt/tools/sim_ptp4l.sh -ct
adress:
runs-on: ubuntu-24.04
steps:
- name: checkout linuxptp repository
uses: actions/checkout@v4
with:
repository: nwtime/linuxptp
path: linuxptp
- name: checkout repository
uses: actions/checkout@v4
with:
path: libptpmgmt
- name: test with linuxptp
run: libptpmgmt/tools/ci_address.sh
mem:
runs-on: ubuntu-24.04
strategy:
matrix:
names: [utest_address, utest_valgrid]
fail-fast: false
container:
image: ghcr.io/erezgeva/deb.trixie:latest
env:
GITHUB_TOOL: ${{ matrix.names }}
steps:
- name: checkout repository
uses: actions/checkout@v4
- name: unit test with memory check
run: |
chown -R $USER:$USER .
su $USER -c "tools/$GITHUB_TOOL.sh -c"