From 6a14890af46b4b0aa9c9f174000ba0d636bc6ac4 Mon Sep 17 00:00:00 2001 From: Ward from fusion-voyager-3 Date: Wed, 24 Jul 2024 00:14:59 +0300 Subject: [PATCH] fix main --- .github/workflows/build-canaryv3.yml | 3 +++ .github/workflows/build-nestv3.yml | 3 +++ .github/workflows/release-canaryv3.yml | 3 +++ .github/workflows/release-nestv3.yml | 3 +++ mainv3.sh | 4 +++- 5 files changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-canaryv3.yml b/.github/workflows/build-canaryv3.yml index 61fbee7..a6164ae 100644 --- a/.github/workflows/build-canaryv3.yml +++ b/.github/workflows/build-canaryv3.yml @@ -30,5 +30,8 @@ jobs: known_hosts: ${{ secrets.KNOWN_HOSTS }} if_key_exists: replace + - name: Update APT Cache + run: apt-get update -y + - name: Build Package run: ./mainv3.sh diff --git a/.github/workflows/build-nestv3.yml b/.github/workflows/build-nestv3.yml index 0d013ba..352cca0 100644 --- a/.github/workflows/build-nestv3.yml +++ b/.github/workflows/build-nestv3.yml @@ -30,5 +30,8 @@ jobs: known_hosts: ${{ secrets.KNOWN_HOSTS }} if_key_exists: replace + - name: Update APT Cache + run: apt-get update -y + - name: Build Package run: ./mainv3.sh diff --git a/.github/workflows/release-canaryv3.yml b/.github/workflows/release-canaryv3.yml index 5b36604..763db72 100644 --- a/.github/workflows/release-canaryv3.yml +++ b/.github/workflows/release-canaryv3.yml @@ -30,6 +30,9 @@ jobs: known_hosts: ${{ secrets.KNOWN_HOSTS }} if_key_exists: replace + - name: Update APT Cache + run: apt-get update -y + - name: Build Package run: ./mainv3.sh diff --git a/.github/workflows/release-nestv3.yml b/.github/workflows/release-nestv3.yml index 36a34fb..cbd3f5b 100644 --- a/.github/workflows/release-nestv3.yml +++ b/.github/workflows/release-nestv3.yml @@ -30,6 +30,9 @@ jobs: known_hosts: ${{ secrets.KNOWN_HOSTS }} if_key_exists: replace + - name: Update APT Cache + run: apt-get update -y + - name: Build Package run: ./mainv3.sh diff --git a/mainv3.sh b/mainv3.sh index 47403f5..c8bda10 100755 --- a/mainv3.sh +++ b/mainv3.sh @@ -2,6 +2,8 @@ set -e +VERSION="3.0.2" + export DEBIAN_FRONTEND="noninteractive" export DEB_BUILD_MAINT_OPTIONS="optimize=+lto -march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32" export DEB_CFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32" @@ -18,7 +20,7 @@ cd ./pika-baseos apt-get build-dep ./ -y # Build package -LOGNAME=root dh_make --createorig -y -l -p pika-baseos_3.0.2 || echo "dh-make didn't go clean" +LOGNAME=root dh_make --createorig -y -l -p pika-baseos_"$VERSION" || echo "dh-make: Ignoring Last Error" dpkg-buildpackage --no-sign # Move the debs to output