Skip to content

Commit

Permalink
Use self-hosted runners
Browse files Browse the repository at this point in the history
  • Loading branch information
Rippanda12 committed Dec 18, 2024
1 parent 1ed2d53 commit 3452b83
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 16 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/build-on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 3452b83

Please sign in to comment.