cgosling, bindings, examples: callback settings now take a pointer to… #483
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
name: test | |
on: [push, pull_request] | |
jobs: | |
linux: | |
strategy: | |
fail-fast: false | |
matrix: | |
test: | |
- honk_rpc_cargo_test | |
- tor_interface_crypto_cargo_test | |
- tor_interface_tor_provider_cargo_test | |
- tor_interface_mock_authenticated_onion_service_cargo_test | |
- tor_interface_mock_bootstrap_cargo_test | |
- tor_interface_mock_onion_service_cargo_test | |
- tor_interface_arti_authenticated_onion_service_cargo_test | |
- tor_interface_arti_client_bootstrap_cargo_test | |
- tor_interface_arti_client_onion_service_cargo_test | |
- tor_interface_legacy_authenticated_onion_service_cargo_test | |
- tor_interface_legacy_bootstrap_cargo_test | |
- tor_interface_legacy_onion_service_cargo_test | |
- tor_interface_legacy_pluggable_transport_bootstrap_cargo_test | |
- tor_interface_system_legacy_authenticated_onion_service_cargo_test | |
- tor_interface_system_legacy_onion_service_cargo_test | |
- tor_interface_mixed_arti_client_legacy_authenticated_onion_service_cargo_test | |
- tor_interface_mixed_arti_client_legacy_bootstrap_cargo_test | |
- tor_interface_mixed_legacy_arti_client_authenticated_onion_service_cargo_test | |
- tor_interface_mixed_legacy_arti_client_bootstrap_cargo_test | |
- gosling_cargo_test | |
- gosling_functional_test | |
- gosling_unit_test | |
- cgosling_cargo_test | |
- gosling_java_bindings_test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Gosling | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Install Dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y libboost-all-dev tor libsqlite3-dev | |
- name: Test | |
run: | | |
mkdir build | |
cmake -G "Unix Makefiles" -S . -B build -DCMAKE_BUILD_TYPE=RelWithDebInfo -DENABLE_TESTS=ON -DENABLE_ARTI_CLIENT_TOR_PROVIDER=ON -DENABLE_TOR_EXPERT_BUNDLE=ON -DBUILD_JAVA_BINDINGS=ON | |
cd build | |
ctest --verbose -R ^${{matrix.test}} | |
windows: | |
strategy: | |
fail-fast: false | |
matrix: | |
test: | |
- honk_rpc_cargo_test | |
- tor_interface_crypto_cargo_test | |
- tor_interface_tor_provider_cargo_test | |
- tor_interface_mock_authenticated_onion_service_cargo_test | |
- tor_interface_mock_bootstrap_cargo_test | |
- tor_interface_mock_onion_service_cargo_test | |
- tor_interface_arti_authenticated_onion_service_cargo_test | |
- tor_interface_arti_client_bootstrap_cargo_test | |
- tor_interface_arti_client_onion_service_cargo_test | |
- tor_interface_legacy_authenticated_onion_service_cargo_test | |
- tor_interface_legacy_bootstrap_cargo_test | |
- tor_interface_legacy_onion_service_cargo_test | |
- tor_interface_legacy_pluggable_transport_bootstrap_cargo_test | |
- tor_interface_system_legacy_authenticated_onion_service_cargo_test | |
- tor_interface_system_legacy_onion_service_cargo_test | |
- tor_interface_mixed_arti_client_legacy_authenticated_onion_service_cargo_test | |
- tor_interface_mixed_arti_client_legacy_bootstrap_cargo_test | |
- tor_interface_mixed_legacy_arti_client_authenticated_onion_service_cargo_test | |
- tor_interface_mixed_legacy_arti_client_bootstrap_cargo_test | |
- gosling_cargo_test | |
- gosling_functional_test | |
- gosling_unit_test | |
- cgosling_cargo_test | |
- gosling_java_bindings_test | |
runs-on: windows-latest | |
defaults: | |
run: | |
shell: msys2 {0} | |
steps: | |
- name: Checkout Gosling | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Install MSYS2 Dependencies | |
uses: msys2/setup-msys2@v2 | |
with: | |
msystem: clang64 | |
update: true | |
install: >- | |
make | |
mingw-w64-clang-x86_64-cmake | |
mingw-w64-clang-x86_64-clang | |
mingw-w64-clang-x86_64-rust | |
mingw-w64-clang-x86_64-boost | |
mingw-w64-clang-x86_64-tor | |
mingw-w64-clang-x86_64-sqlite3 | |
- name: Install Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: '17' | |
architecture: x86_64 | |
- name: Test | |
env: | |
CC: clang | |
run: | | |
export PATH=$(cygpath -u ${JAVA_HOME})/bin:$PATH | |
mkdir build | |
cmake -G "Unix Makefiles" -S . -B build -DCMAKE_BUILD_TYPE=RelWithDebInfo -DENABLE_TESTS=ON -DENABLE_ARTI_CLIENT_TOR_PROVIDER=ON -DENABLE_TOR_EXPERT_BUNDLE=ON -DBUILD_JAVA_BINDINGS=ON | |
cd build | |
ctest --verbose -R ^${{matrix.test}} | |
macos: | |
strategy: | |
fail-fast: false | |
matrix: | |
test: | |
- honk_rpc_cargo_test | |
- tor_interface_crypto_cargo_test | |
- tor_interface_tor_provider_cargo_test | |
- tor_interface_mock_authenticated_onion_service_cargo_test | |
- tor_interface_mock_bootstrap_cargo_test | |
- tor_interface_mock_onion_service_cargo_test | |
- tor_interface_arti_authenticated_onion_service_cargo_test | |
- tor_interface_arti_client_bootstrap_cargo_test | |
- tor_interface_arti_client_onion_service_cargo_test | |
- tor_interface_legacy_authenticated_onion_service_cargo_test | |
- tor_interface_legacy_bootstrap_cargo_test | |
- tor_interface_legacy_onion_service_cargo_test | |
- tor_interface_legacy_pluggable_transport_bootstrap_cargo_test | |
- tor_interface_system_legacy_authenticated_onion_service_cargo_test | |
- tor_interface_system_legacy_onion_service_cargo_test | |
- tor_interface_mixed_arti_client_legacy_authenticated_onion_service_cargo_test | |
- tor_interface_mixed_arti_client_legacy_bootstrap_cargo_test | |
- tor_interface_mixed_legacy_arti_client_authenticated_onion_service_cargo_test | |
- tor_interface_mixed_legacy_arti_client_bootstrap_cargo_test | |
- gosling_cargo_test | |
- gosling_functional_test | |
- gosling_unit_test | |
- cgosling_cargo_test | |
- gosling_java_bindings_test | |
runs-on: macos-latest | |
steps: | |
- name: Checkout Gosling | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Install Dependencies | |
run: | | |
brew install boost tor sqlite3 | |
- name: Test | |
run: | | |
mkdir build | |
cmake -G "Unix Makefiles" -S . -B build -DCMAKE_BUILD_TYPE=RelWithDebInfo -DENABLE_TESTS=ON -DENABLE_ARTI_CLIENT_TOR_PROVIDER=ON -DENABLE_TOR_EXPERT_BUNDLE=ON -DBUILD_JAVA_BINDINGS=ON | |
cd build | |
ctest --verbose -R ^${{matrix.test}} |