Adds error reporting for CDC Mirror #1017
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: Dev Debian package | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
release: | |
name: build and release | |
strategy: | |
matrix: | |
runner: [ubuntu-latest, ubicloud] | |
runs-on: ${{ matrix.runner }} | |
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 |