调整riscv64构建

This commit is contained in:
2024-10-05 09:14:34 +08:00
parent 8f0f54025a
commit a4068fbe0c
+8 -4
View File
@@ -255,20 +255,23 @@ jobs:
- name: Configure Base System
run: |
bash .github/workflows/configure-building-enviroment-base-system.sh riscv64 sid $REPOSITORY https://github.com/$GITHUB_REPOSITORY | true
bash .github/workflows/configure-building-enviroment-base-system.sh riscv64 sid $REPOSITORY https://github.com/$GITHUB_REPOSITORY
- name: Building ${{ GITHUB.repository }}
run: |
env gitPath=$(basename $GITHUB_REPOSITORY) bash .github/workflows/run-command-in-chroot.sh env GO111MODULE=off dpkg-buildpackage -b | true
set +e
env gitPath=$(basename $GITHUB_REPOSITORY) bash .github/workflows/run-command-in-chroot.sh env GO111MODULE=off dpkg-buildpackage -b
- name: Remove Debug Package
run: |
env env gitPath=$(basename $GITHUB_REPOSITORY) bash .github/workflows/run-command-in-chroot.sh rm -rfv ../*dbg*.deb | true
set +e
env env gitPath=$(basename $GITHUB_REPOSITORY) bash .github/workflows/run-command-in-chroot.sh rm -rfv ../*dbg*.deb
- name: Pack tar
run: |
set +e
cd $BOTTLEPATH
sudo tar -cvf ../deb-$(date +%s).tar *.deb | true
sudo tar -cvf ../deb-$(date +%s).tar *.deb
- name: Push
env:
@@ -279,6 +282,7 @@ jobs:
UPROGRAM: ${{ secrets.UPROGRAM }}
UPORT: ${{ secrets.UPORT }}
run: |
set +e
sudo apt update
sudo apt install sshpass -y
mkdir -p ~/.ssh/