Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
57052d6
get OSS build to pass, add VS Studio Code support
Oct 18, 2024
27ffe32
Merge remote-tracking branch 'origin/main'
Oct 18, 2024
e7b3a71
Update ubuntu_build.yml
gmarzot Oct 19, 2024
9ed54d9
Merge remote-tracking branch 'origin/main'
Oct 19, 2024
8fe28e4
try to fix max github workflow
Oct 19, 2024
bdbb25d
Merge remote-tracking branch 'personal/main'
Oct 19, 2024
4b5fb57
try to use builtin github runner
Oct 19, 2024
20d5b62
remove failing dep install: E: Unable to locate package libfast-float…
Oct 19, 2024
af22757
install fast_float lib similarly to googletest
Oct 19, 2024
bc00b4b
fix version tag
Oct 19, 2024
f429d61
Merge remote-tracking branch 'refs/remotes/origin/main'
Oct 23, 2024
b2d0337
trim unneeded comments, skip cmake checks on glog which is being load…
Oct 23, 2024
bbb5a90
Merge remote-tracking branch 'upstream/main'
gmarzot Oct 26, 2024
eed377b
small c++ syntax fix for Apple clang compatibility
gmarzot Oct 26, 2024
ce68550
Merge remote-tracking branch 'upstream/main'
gmarzot Oct 26, 2024
8401940
Merge remote-tracking branch 'upstream/main'
gmarzot Oct 27, 2024
3ff53d1
specifying extensions
gmarzot Oct 31, 2024
edd925e
specifying extensions
gmarzot Oct 31, 2024
2ba58a4
Merge remote-tracking branch 'upstream/main'
gmarzot Nov 4, 2024
474bb0e
Merge remote-tracking branch 'upstream/main'
gmarzot Nov 8, 2024
7dd6ec4
start some python based testing and debugging
gmarzot Nov 8, 2024
a7c99f3
starting python based testing
gmarzot Nov 12, 2024
15f29cc
add support for python based testing
gmarzot Nov 21, 2024
caa5188
add support for python based testing
gmarzot Nov 21, 2024
1e41a9b
add support for python based testing
gmarzot Nov 21, 2024
46e39be
unignore the python test dir
gmarzot Nov 21, 2024
b047b91
add support for python based testing
gmarzot Nov 22, 2024
58949f6
merge in from upstream source
gmarzot Nov 22, 2024
fc923a4
merge in upstream changes
gmarzot Nov 24, 2024
d308bdd
merge in upstream changes
gmarzot Nov 24, 2024
a9c47ab
.gitignore
gmarzot Nov 24, 2024
e9c1c23
install python test env --with-python-tests
gmarzot Nov 24, 2024
b9584ef
install python test env --with-python-tests (always on for now)
gmarzot Nov 24, 2024
efce237
should work on MacOS
gmarzot Nov 24, 2024
c620a04
fix python install macos, run tests from workflows, publish test results
gmarzot Nov 24, 2024
f784130
fix some issues with uv bootstrapping, get tests run and published
gmarzot Nov 25, 2024
3fa9098
no python
gmarzot Nov 25, 2024
2bb8b99
get workflow tests and publush resuls running
gmarzot Nov 25, 2024
ce26535
get workflow tests and publish results running
gmarzot Nov 25, 2024
f153870
get workflow tests and publish results running, small fixes to build …
gmarzot Nov 25, 2024
ddedb5b
no need for ts in results path, retain test artifacts, small fixes to…
gmarzot Nov 25, 2024
495a443
debugging setup_python_test_env
gmarzot Nov 25, 2024
435ffe6
debugging setup_python_test_env
gmarzot Nov 25, 2024
71cc124
debugging setup_python_test_env
gmarzot Nov 26, 2024
e2d5fef
debugging setup_python_test_env
gmarzot Nov 26, 2024
ba9d6a9
debugging setup_python_test_env
gmarzot Nov 26, 2024
04a4f38
remove comitted binaries
gmarzot Nov 26, 2024
84b7f31
python test env off by default, give pr writeperms and token to linux…
gmarzot Nov 26, 2024
63445ca
fix issue where python would be installed under /root/.local and not …
gmarzot Nov 27, 2024
2960fb6
spruce up test results, hopefully deambiguate sections and results, a…
gmarzot Nov 27, 2024
5252f12
use latest dorny reporter
gmarzot Nov 27, 2024
fcfac15
try single workflow matrix, normalize workflow filenames
gmarzot Nov 27, 2024
12fe74c
use same sudo syntax
gmarzot Nov 27, 2024
d4748a5
copnsolidate workflow into matrix - more os's in future
gmarzot Nov 27, 2024
61639ce
start of python moq msg test harness
gmarzot Nov 30, 2024
3a1caf8
moxygen python class testing
gmarzot Dec 2, 2024
a863b82
run as user when possible, only use root for pkg install
gmarzot Dec 7, 2024
838b4f6
clearer filenaming, optional python setup
gmarzot Dec 31, 2024
6984d24
Merge remote-tracking branch 'upstream/main' into python-based-testing
gmarzot Dec 31, 2024
ee81d40
Merge remote-tracking branch 'upstream/main' into python-based-testing
gmarzot Jan 10, 2025
0633c35
Merge remote-tracking branch 'upstream/main' into python-based-testing
gmarzot Jan 14, 2025
7fce4e1
enhance python/cython bootstrap code
gmarzot Jan 14, 2025
57c62a3
Merge branch 'main' into python-based-testing
gmarzot Jan 19, 2025
c4ea8b8
optional python setup
gmarzot Jan 19, 2025
d7e649c
Merge branch 'main' into python-based-testing
gmarzot Jan 19, 2025
69b27ac
setup wt and moqt session, test subscribe and error parsing
gmarzot Jan 28, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 53 additions & 0 deletions .github/workflows/build_test_matrix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Build & Test Matrix

on:
push:
branches:
- main
pull_request:
branches:
- main

permissions:
contents: read
checks: write
pull-requests: write

jobs:
build:

strategy:
fail-fast: false
matrix:
config:
- {os: ubuntu-latest, name: Linux}
- {os: macos-latest, name: MacOS}

runs-on: ${{ matrix.config.os }}
name: Build & Test - ${{ matrix.config.name }}

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Run Build
run: ./build.sh

- name: Run Tests
if: success()
run: ./run_tests.sh --results-dir ./_build/test-results

- name: Publish Results
uses: dorny/test-reporter@v1.9.1
with:
name: "Moxygen Tests - ${{ matrix.config.name }}"
path: ./_build/test-results/*.xml
reporter: java-junit

- name: Upload Artifacts
uses: actions/upload-artifact@v4
if: success()
with:
name: test-results-${{ matrix.config.os }}
path: ./_build/test-results/*.*
retention-days: 14
28 changes: 0 additions & 28 deletions .github/workflows/mac_build.yml

This file was deleted.

28 changes: 0 additions & 28 deletions .github/workflows/ubuntu_build.yml

This file was deleted.

26 changes: 17 additions & 9 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,28 @@ CTestTestfile.cmake
*.dylib
.DS_Store
TARGETS
moqrelayserver
moqchatclient
moqchatserver
moqtextclient
moqdateserver
*.cmake
certs/
node_modules/
package.json
package-lock.json
DartConfiguration.tcl
moxygen/test/

moqrelayserver
moqchatclient
moqchatserver
moqtextclient
moqdateserver
moqflvstreamerclient
moqflvreceiverclient
FlvParserTests
MoQMiTests
DeJitterTests

moxygen/**/*Tests

.venv/
.python-version
.pytest_cache/
__pycache__/
*.pyc
.coverage

moxygen/test/python/build/
13 changes: 13 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"recommendations": [
"ms-vscode.cpptools-extension-pack",
"matepek.vscode-catch2-test-adapter",
"visualstudioexptteam.vscodeintellicode",
"ms-vscode.makefile-tools",
"ms-python.python",
"donjayamanne.python-extension-pack",
"ms-python.vscode-pylance",
"ms-python.debugpy",
// Add extension IDs here
]
}
24 changes: 24 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [

{
"name": "Python Debugger: Current File with Arguments",
"type": "debugpy",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal",
"args": [
"--cert", "${workspaceFolder}/certs/certificate.pem",
"--key", "${workspaceFolder}/certs/certificate.key",
"--namespace", "test",
"--track", "video1",
"--start-group", "0",
"--start-object", "0",
"--log-level", "DEBUG" ]
}
]
}
24 changes: 23 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,27 @@
"cmake.buildBeforeRun": false,
"cmake.buildTask": false,
"cmake.deleteBuildDirOnCleanConfigure": false,
"testMate.cpp.test.executables": "{build,Build,BUILD,out,Out,OUT,moxygen}/**/*{test,Test,TEST}*"
"files.associations": {
"chrono": "cpp",
"optional": "cpp",
"ratio": "cpp",
"system_error": "cpp",
"array": "cpp",
"functional": "cpp",
"tuple": "cpp",
"type_traits": "cpp",
"utility": "cpp",
"variant": "cpp"
},

// C++ test configuration
"testMate.cpp.test.executables": "moxygen/**/*Tests",

// Python test configuration
"python.defaultInterpreterPath": "${workspaceFolder}/.venv/bin/python",
"python.testing.pytestEnabled": true,
"python.testing.unittestEnabled": false,
"python.testing.cwd": "${workspaceFolder}/moxygen/test/python",
"python.testing.pytestPath": "${workspaceFolder}/.venv/bin/pytest",
"python.testing.autoTestDiscoverOnSaveEnabled": true,
}
Loading