From 3452b833dbadb70b900239ed1d961287dad5cec1 Mon Sep 17 00:00:00 2001 From: rippanda12 Date: Wed, 18 Dec 2024 02:07:47 +0100 Subject: [PATCH] Use self-hosted runners --- .github/workflows/build-on-push.yml | 13 ++++--------- .github/workflows/release.yml | 10 +++------- 2 files changed, 7 insertions(+), 16 deletions(-) diff --git a/.github/workflows/build-on-push.yml b/.github/workflows/build-on-push.yml index f343434..e386a74 100644 --- a/.github/workflows/build-on-push.yml +++ b/.github/workflows/build-on-push.yml @@ -10,22 +10,17 @@ on: jobs: build: - runs-on: ubuntu-24.04 + runs-on: [ self-hosted, ubuntu-24.04, pkg ] steps: - name: Checkout code uses: actions/checkout@v4 - name: Build packages run: | - export $(dpkg-architecture -aarm64) - export CROSS_COMPILE=aarch64-linux-gnu- - export CC=aarch64-linux-gnu-gcc - export LANG=C - sudo dpkg --add-architecture arm64 sudo apt-get update - sudo apt-get build-dep --no-install-recommends -y -aarm64 . - sudo apt-get install --no-install-recommends -y git-buildpackage debhelper devscripts gcc-aarch64-linux-gnu g++-aarch64-linux-gnu crossbuild-essential-arm64 binutils-aarch64-linux-gnu - debuild --no-lintian -us -uc -b -aarm64 -Pcross -d + sudo apt-get build-dep --no-install-recommends -y . + sudo apt-get install --no-install-recommends -y git-buildpackage debhelper devscripts + debuild --no-lintian -us -uc - name: Workaround actions run: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fe46936..7bdcefb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,21 +7,17 @@ permissions: jobs: build: - runs-on: ubuntu-latest + runs-on: [ self-hosted, ubuntu-24.04, pkg ] steps: - name: Checkout code uses: actions/checkout@v4 - name: Build packages run: | - export $(dpkg-architecture -aarm64) - export CROSS_COMPILE=aarch64-linux-gnu- - export CC=aarch64-linux-gnu-gcc - export LANG=C sudo apt-get update sudo apt-get build-dep --no-install-recommends -y . - sudo apt-get install --no-install-recommends -y git-buildpackage debhelper devscripts gcc-12 gcc-12-aarch64-linux-gnu - debuild --no-lintian -us -uc -b -aarm64 -Pcross -d + sudo apt-get install --no-install-recommends -y git-buildpackage debhelper devscripts + debuild --no-lintian -us -uc - name: Workaround actions run: |