mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2025-04-02 18:31:50 -04:00
ci: verify debian package
This commit is contained in:
parent
108b4be3ec
commit
e6118af9f3
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@ -52,6 +52,10 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
./scripts/snapshot-archive-all.sh
|
./scripts/snapshot-archive-all.sh
|
||||||
|
|
||||||
|
- name: Verify debian package
|
||||||
|
run: |
|
||||||
|
./scripts/verify-debian-package.sh
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: snapshot-source-code
|
name: snapshot-source-code
|
||||||
@ -174,6 +178,10 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
./scripts/release-archive-all.sh
|
./scripts/release-archive-all.sh
|
||||||
|
|
||||||
|
- name: Verify debian package
|
||||||
|
run: |
|
||||||
|
./scripts/verify-debian-package.sh
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: release-source-code
|
name: release-source-code
|
||||||
|
17
scripts/verify-debian-package.sh
Executable file
17
scripts/verify-debian-package.sh
Executable file
@ -0,0 +1,17 @@
|
|||||||
|
#!/bin/bash -e
|
||||||
|
|
||||||
|
sudo apt update
|
||||||
|
sudo apt install -y \
|
||||||
|
build-essential \
|
||||||
|
qtbase5-dev \
|
||||||
|
libqt5websockets5-dev \
|
||||||
|
qtwebengine5-dev \
|
||||||
|
cmake \
|
||||||
|
debhelper
|
||||||
|
|
||||||
|
mkdir -p build
|
||||||
|
|
||||||
|
cp ./artifacts/*.tar.gz build/ && cd build
|
||||||
|
tar -xzf *.tar.gz && cd globalprotect-openconnect-*
|
||||||
|
|
||||||
|
dpkg-buildpackage -us -uc
|
Loading…
Reference in New Issue
Block a user