Skip to content
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
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
8 changes: 4 additions & 4 deletions .github/workflows/ci-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:

- uses: actions/checkout@v4
with:
submodules: true
submodules: recursive

- name: Install system dependencies
run: |
Expand Down Expand Up @@ -184,7 +184,7 @@ jobs:

- uses: actions/checkout@v4
with:
submodules: true
submodules: recursive

- name: Install system dependencies
run: sudo deps/moxygen/standalone/install-system-deps.sh
Expand Down Expand Up @@ -242,7 +242,7 @@ jobs:

- uses: actions/checkout@v4
with:
submodules: true
submodules: recursive

- name: Install system dependencies
run: |
Expand Down Expand Up @@ -314,7 +314,7 @@ jobs:

- uses: actions/checkout@v4
with:
submodules: true
submodules: recursive

- name: Download bookworm moxygen tarball
env:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
submodules: true
submodules: recursive

- name: Install system dependencies
run: |
Expand Down Expand Up @@ -165,7 +165,7 @@ jobs:

- uses: actions/checkout@v4
with:
submodules: true
submodules: recursive

- name: Install system dependencies
run: sudo deps/moxygen/standalone/install-system-deps.sh
Expand Down Expand Up @@ -219,7 +219,7 @@ jobs:

- uses: actions/checkout@v4
with:
submodules: true
submodules: recursive

- name: Install system dependencies
run: |
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@
url = git@github.com:openmoq/moxygen.git
branch = main
ignore = untracked
[submodule "deps/catapult"]
path = deps/catapult
url = https://github.com/Quicr/catapult.git
7 changes: 7 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,12 @@ add_compile_definitions(
"FOLLY_XLOG_STRIP_PREFIXES=\"${CMAKE_SOURCE_DIR}:${CMAKE_BINARY_DIR}\""
)

# --- catapult (CAT/CWT/MOQT auth implementation) ---

set(ENABLE_LOGGING OFF CACHE BOOL "" FORCE)
set(CATAPULT_ENABLE_JSON OFF CACHE BOOL "" FORCE)
add_subdirectory(deps/catapult EXCLUDE_FROM_ALL)

# --- Cache library (forked from moxygen) ---

add_library(moqx_cache STATIC
Expand Down Expand Up @@ -165,6 +171,7 @@ target_link_libraries(moqx_core PUBLIC
Folly::folly_io_async_fdsock_async_fd_socket
moxygen::moxygen_moqclient
OpenSSL::Crypto
catapult
)

target_compile_options(moqx_core PRIVATE -Wall -Wextra -Wpedantic)
Expand Down
1 change: 1 addition & 0 deletions deps/catapult
Submodule catapult added at 2bbf47
1 change: 1 addition & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ COPY .docker-deps/moxygen /opt/moxygen
COPY CMakeLists.txt CMakePresets.json ./
COPY cmake/ cmake/
COPY src/ src/
COPY deps/catapult/ deps/catapult/
COPY deps/moxygen/build/fbcode_builder/CMake deps/moxygen/build/fbcode_builder/CMake

RUN cmake -S . -B _build --preset default \
Expand Down
Loading
Loading