Publish portable x86-64 and AArch64 Linux builds - #22
Open
Katze719 wants to merge 7 commits into
Open
Conversation
Katze719
commented
Aug 26, 2026
Co-authored-by: Katze719 <38188106+Katze719@users.noreply.github.com>
Mqxx
requested changes
Aug 27, 2026
| cmake --preset linux-gcc-release \ | ||
| -DCMAKE_C_COMPILER=gcc-16 \ | ||
| -DCMAKE_CXX_COMPILER=g++-16 \ | ||
| cmake -S . -B "build/ffi/${{ matrix.arch }}" -G Ninja \ |
Member
There was a problem hiding this comment.
Is the extra /ffi/ directory necessary?
Member
Author
There was a problem hiding this comment.
no, it is not strictly necessary. the directory is only used during CI to separate the FFI metadata build and output paths, and it could have any other name.
| --target cpp_bindings_linux cpp_bindings_linux_ffi_json | ||
|
|
||
| - name: 'Set PACKAGE_VERSION from env.sh' | ||
| cmake --build "build/ffi/${{ matrix.arch }}" \ |
Member
There was a problem hiding this comment.
Same here with the /ffi/ directory.
| -DCPP_BINDINGS_LINUX_ENABLE_FFI_JSON_EXPORT=ON \ | ||
| -DCPP_BINDINGS_LINUX_ASTREIN_EXECUTABLE="${RUNNER_TEMP}/astrein/bin/astrein" | ||
| -DCPP_BINDINGS_LINUX_ASTREIN_EXECUTABLE="${RUNNER_TEMP}/astrein/bin/astrein" \ | ||
| -DCPP_BINDINGS_LINUX_FFI_JSON_OUTPUT="${GITHUB_WORKSPACE}/dist/ffi/${{ matrix.arch }}.ffi.json" |
Member
There was a problem hiding this comment.
Same here with the /ffi/ directory.
| with: | ||
| if-no-files-found: error | ||
| name: cpp-bindings-linux-ffi-${{ matrix.target }} | ||
| path: dist/ffi/${{ matrix.arch }}.ffi.json |
Member
There was a problem hiding this comment.
Same here with the /ffi/ directory.
| build/libcpp_bindings_linux.so | ||
| build/cpp_bindings_linux.ffi.json | ||
| name: cpp-bindings-linux-ffi | ||
| path: dist/ffi/*.ffi.json |
Member
There was a problem hiding this comment.
Same here with the /ffi/ directory.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
x86_64-linux-gnuandaarch64-linux-gnubinaries on native runners in digest-pinned manylinux_2_28 containers