Skip to content

tor-interface: add timeout and alive flag check to forward_stream() f… #298

tor-interface: add timeout and alive flag check to forward_stream() f…

tor-interface: add timeout and alive flag check to forward_stream() f… #298

Workflow file for this run

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