tor-interface: added mixed-mode tests with LegacyTorClient and ArtiCl… #296
Workflow file for this run
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: | |
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 Release | |
run: | | |
mkdir build | |
cmake -G "Unix Makefiles" -S . -B build -DCMAKE_BUILD_TYPE=Release -DENABLE_TESTS=ON -DENABLE_ARTI_CLIENT_TOR_PROVIDER=ON | |
cd build | |
make | |
ctest --verbose | |
windows: | |
runs-on: windows-latest | |
defaults: | |
run: | |
shell: msys2 {0} | |
steps: | |
- name: Checkout Gosling | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Install 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: Test Release | |
env: | |
CC: clang | |
run: | | |
mkdir build | |
cmake -G "Unix Makefiles" -S . -B build -DCMAKE_BUILD_TYPE=Release -DENABLE_TESTS=ON -DENABLE_ARTI_CLIENT_TOR_PROVIDER=ON | |
cd build | |
make | |
ctest --verbose | |
macos: | |
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 Release | |
run: | | |
mkdir build | |
cmake -G "Unix Makefiles" -S . -B build -DCMAKE_BUILD_TYPE=Release -DENABLE_TESTS=ON -DENABLE_ARTI_CLIENT_TOR_PROVIDER=ON | |
cd build | |
make | |
ctest --verbose |