Skip to content

split Connector interface to better represent capabilities #983

split Connector interface to better represent capabilities

split Connector interface to better represent capabilities #983

Workflow file for this run

name: Dev Debian package
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
release:
name: build and release
runs-on: ubuntu-latest
steps:
- name: checkout sources
uses: actions/checkout@v3
with:
submodules: recursive
token: ${{ secrets.SUBMODULE_CHECKOUT }}
- name: install system tools
run: |
sudo apt-get update
sudo apt-get install -y musl-tools protobuf-compiler gcc-multilib \
protobuf-compiler libssl-dev pkg-config build-essential
- name: install cargo binstall
run: |
curl -L --proto '=https' --tlsv1.2 -sSf\
https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
- name: install cargo binaries
run: |
cargo binstall --no-confirm --no-symlinks cargo-deb
- uses: dtolnay/rust-toolchain@stable
with:
targets: x86_64-unknown-linux-musl
- name: build project release
working-directory: ./nexus
run: cargo build --release --target=x86_64-unknown-linux-musl
- name: create peerdb-server deb package
working-directory: ./nexus/
run: cargo deb --target=x86_64-unknown-linux-musl -p peerdb-server --no-build