Skip to content

Fix goroutine leak, deadlock, and DTLS deadline issue #955

Fix goroutine leak, deadlock, and DTLS deadline issue

Fix goroutine leak, deadlock, and DTLS deadline issue #955

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: CI-build
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: 1
jobs:
# This workflow contains a single job called "build"
build:
name: Build Station pieces
# The type of runner that the job will run on
runs-on: ubuntu-20.04
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
with:
path: go/src/github.com/refraction-networking/conjure
submodules: recursive
# Build the conjure station
- name: Install Conjure build dependencies and Build Station Elements
run: |
sudo apt-get update
sudo apt-get install protobuf-compiler gcc curl git wget software-properties-common -y -q
sudo apt-get install libzmq3-dev libssl-dev pkg-config libgmp3-dev -y -q
sudo add-apt-repository universe
wget https://packages.ntop.org/apt/20.04/all/apt-ntop.deb
sudo apt install ./apt-ntop.deb
sudo apt-get update
sudo apt-get install pfring
echo "Apt dependencies installed"
- name: Build Rust Library
run: |
cd $GITHUB_WORKSPACE/go/src/github.com/refraction-networking/conjure
make rust
- name: Build Conjure Detector
run: |
cd $GITHUB_WORKSPACE/go/src/github.com/refraction-networking/conjure
make libtd
make conjure
echo "Station successfully built"
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 'stable'
- name: Build app
run: |
cd $GITHUB_WORKSPACE/go/src/github.com/refraction-networking/conjure
make app
- name: Build registration-server
run: |
cd $GITHUB_WORKSPACE/go/src/github.com/refraction-networking/conjure
make registration-server
- name: Store build artifacts
run: |
mkdir -p $GITHUB_WORKSPACE/
cd $GITHUB_WORKSPACE/go/src/github.com/refraction-networking/conjure
cp -r ./bin/ $GITHUB_WORKSPACE/
cd $GITHUB_WORKSPACE && tar -czf conjure-station.tar.gz bin
- name: Save build artifacts
uses: actions/upload-artifact@v3
with:
name: conjure-station.tar.gz
path: |
conjure-station.tar.gz