mirror of
https://github.com/ClementTsang/bottom.git
synced 2025-11-30 18:44:20 +01:00
ci: install generate deb in CI to validate
This commit is contained in:
parent
cdba8f9064
commit
77da407ebd
7
.github/workflows/build_releases.yml
vendored
7
.github/workflows/build_releases.yml
vendored
@ -531,7 +531,7 @@ jobs:
|
|||||||
mv $TMP_NAME $(echo $TMP_NAME | sed "s/bottom/bottom-musl/")
|
mv $TMP_NAME $(echo $TMP_NAME | sed "s/bottom/bottom-musl/")
|
||||||
|
|
||||||
# TODO: Maybe rename version if nightly?
|
# TODO: Maybe rename version if nightly?
|
||||||
- name: Verify Debian release
|
- name: Verify generated Debian release
|
||||||
id: verify
|
id: verify
|
||||||
run: |
|
run: |
|
||||||
DEB_FILE=$(find bottom*_*.deb)
|
DEB_FILE=$(find bottom*_*.deb)
|
||||||
@ -539,6 +539,11 @@ jobs:
|
|||||||
dpkg -I $DEB_FILE | grep ${{ matrix.info.dpkg }} && echo "Found correct architecture"
|
dpkg -I $DEB_FILE | grep ${{ matrix.info.dpkg }} && echo "Found correct architecture"
|
||||||
echo "DEB_FILE=$DEB_FILE" >> $GITHUB_OUTPUT
|
echo "DEB_FILE=$DEB_FILE" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
|
- name: Test installing generated Debian release
|
||||||
|
run: |
|
||||||
|
apt install ${{ steps.verify.outputs.DEB_FILE }} -y
|
||||||
|
btm -V
|
||||||
|
|
||||||
- name: Delete generated Debian folder
|
- name: Delete generated Debian folder
|
||||||
run: |
|
run: |
|
||||||
sudo chown $USER ./target/debian/ 2>/dev/null || true
|
sudo chown $USER ./target/debian/ 2>/dev/null || true
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user