Skip to content

Update base64 0.13 to base64 0.21. Replace use of deprecated chrono method #1132

Update base64 0.13 to base64 0.21. Replace use of deprecated chrono method

Update base64 0.13 to base64 0.21. Replace use of deprecated chrono method #1132

Workflow file for this run

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