Skip to content

cgosling: callbacks passing OS-specific TCP sockets handles now use g… #267

cgosling: callbacks passing OS-specific TCP sockets handles now use g…

cgosling: callbacks passing OS-specific TCP sockets handles now use g… #267

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
- name: Test Release
run: |
mkdir build
cmake -G "Unix Makefiles" -S . -B build -DCMAKE_BUILD_TYPE=Release -DENABLE_ONLINE_TESTS=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
- name: Test Release
run: |
mkdir build
cmake -G "Unix Makefiles" -S . -B build -DCMAKE_BUILD_TYPE=Release -DENABLE_ONLINE_TESTS=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
- name: Test Release
run: |
mkdir build
cmake -G "Unix Makefiles" -S . -B build -DCMAKE_BUILD_TYPE=Release -DENABLE_ONLINE_TESTS=ON
cd build
make
ctest --verbose