mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-18 16:05:21 +01:00
Create Linux aarch64
This commit is contained in:
parent
25502da8aa
commit
2798182196
1 changed files with 47 additions and 0 deletions
47
.github/workflows/Linux aarch64
vendored
Normal file
47
.github/workflows/Linux aarch64
vendored
Normal file
|
@ -0,0 +1,47 @@
|
||||||
|
name: Build rpi-imager for aarch64
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- qml
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- qml
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-22.04 # Using Ubuntu as the base
|
||||||
|
architecture: aarch64
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Check out the code
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Set up QEMU
|
||||||
|
uses: docker/setup-qemu-action@v2
|
||||||
|
with:
|
||||||
|
platforms: aarch64
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: |
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install -y \
|
||||||
|
build-essential devscripts debhelper cmake git libarchive-dev libcurl4-gnutls-dev liblzma-dev \
|
||||||
|
qtbase5-dev qtbase5-dev-tools qtdeclarative5-dev libqt5svg5-dev qttools5-dev libgnutls28-dev \
|
||||||
|
qml-module-qtquick2 qml-module-qtquick-controls2 qml-module-qtquick-layouts qml-module-qtquick-templates2 qml-module-qtquick-window2 qml-module-qtgraphicaleffects
|
||||||
|
|
||||||
|
- name: Get the source
|
||||||
|
run: |
|
||||||
|
git clone --depth 1 https://github.com/raspberrypi/rpi-imager
|
||||||
|
cd rpi-imager
|
||||||
|
|
||||||
|
- name: Build the Debian package
|
||||||
|
run: |
|
||||||
|
cd rpi-imager
|
||||||
|
debuild -uc -us
|
||||||
|
|
||||||
|
- name: Upload .deb package as artifact
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: rpi-imager-deb
|
||||||
|
path: ../rpi-imager*.deb
|
Loading…
Add table
Add a link
Reference in a new issue