mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2024-11-22 00:07:21 -06:00
Build deb as part of Continuous Integration (#281)
Build the .deb release as part of the Github Actions run. The .deb file is available for download as an artifact of that build for 90 days. Please squash this commit.
This commit is contained in:
parent
44518e76a5
commit
1ada4e5a5c
11
.github/workflows/rust.yml
vendored
11
.github/workflows/rust.yml
vendored
@ -18,6 +18,13 @@ jobs:
|
||||
run: pushd src/rust; cargo build --verbose --all; popd
|
||||
- name: Run tests
|
||||
run: pushd src/rust; cargo test --verbose --all; popd
|
||||
- name: Build .deb file
|
||||
run: pushd src; ./build_dpkg.sh --nostamp; popd
|
||||
- name: Archive .deb file
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: libreqos_1.4.-1_amd64.deb
|
||||
path: src/dist/libreqos_1.4.-1_amd64.deb
|
||||
|
||||
audit:
|
||||
strategy:
|
||||
@ -28,8 +35,6 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Install tools
|
||||
run: pushd src/rust; cargo install cargo-outdated; cargo install cargo-audit; popd
|
||||
- name: Check for outdated dependencies
|
||||
run: cd src/rust; cargo outdated -w --color=always --root-deps-only --exit-code 1
|
||||
run: pushd src/rust; cargo install cargo-audit; popd
|
||||
- name: Audit for CVEs
|
||||
run: cd src/rust; cargo audit -c always
|
||||
|
@ -5,6 +5,10 @@
|
||||
# This is all GPL2.
|
||||
|
||||
BUILD_DATE=`date +%Y%m%d`
|
||||
if [ $1 = "--nostamp" ]
|
||||
then
|
||||
BUILD_DATE=""
|
||||
fi
|
||||
PACKAGE=libreqos
|
||||
VERSION=1.4.$BUILD_DATE
|
||||
PKGVERSION=$PACKAGE
|
||||
|
Loading…
Reference in New Issue
Block a user