Skip to content

Merge pull request #151 from h01ger/rebuilder-debian.sh #316

Merge pull request #151 from h01ger/rebuilder-debian.sh

Merge pull request #151 from h01ger/rebuilder-debian.sh #316

Workflow file for this run

name: Binaries
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: sudo apt-get install libsodium-dev libsqlite3-dev libzstd-dev
- name: Build
run: cargo build --verbose --release
- name: Strip binary
run: strip target/release/rebuild{erd,ctl,erd-worker}
- name: Archive executable (rebuilderd)
uses: actions/upload-artifact@v4
with:
name: rebuilderd
path: target/release/rebuilderd
- name: Archive executable (rebuildctl)
uses: actions/upload-artifact@v4
with:
name: rebuildctl
path: target/release/rebuildctl
- name: Archive executable (rebuilderd-worker)
uses: actions/upload-artifact@v4
with:
name: rebuilderd-worker
path: target/release/rebuilderd-worker