Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions .github/workflows/build-dt-deb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,16 @@ jobs:
uses: actions/checkout@v3
- name: Install toolchain
run: |
sudo apt-get -yq update && sudo apt-get -yq upgrade
sudo apt-get -yq install build-essential crossbuild-essential-arm64 device-tree-compiler \
autoconf bc bison flex ccache cpio dkms fakeroot kmod quilt rsync dh-exec \
libssl-dev libncurses-dev libelf-dev libudev-dev libpci-dev libiberty-dev
sudo apt-get -yq update && sudo apt-get -yq upgrade
sudo apt-get -yq install build-essential crossbuild-essential-arm64 device-tree-compiler \
autoconf bc bison flex ccache cpio dkms fakeroot kmod quilt rsync dh-exec \
libssl-dev libncurses-dev libelf-dev libudev-dev libpci-dev libiberty-dev
- name: Build Device Tree Deb Package
run: |
cd deb-pkg
./build-devicetree-deb.sh
- name: Archive Device Tree Debs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: devicetrees-plebian-quartz64
path: |
deb-pkg/*.deb
path: deb-pkg/*.deb
38 changes: 21 additions & 17 deletions .github/workflows/build-image.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Build Quartz64 Images
on: push
on: [ push, workflow_dispatch ]
jobs:
build_uboot:
strategy:
Expand Down Expand Up @@ -40,17 +40,17 @@ jobs:
steps:
- name: Install toolchain
run: |
sudo apt-get update
sudo apt-get install build-essential crossbuild-essential-arm64 device-tree-compiler python3-pyelftools
sudo apt-get update
sudo apt-get install build-essential crossbuild-essential-arm64 device-tree-compiler python3-pyelftools
#- name: Clone rkbin repository
# uses: actions/checkout@v3
# with:
# repository: 'rockchip-linux/rkbin'
# path: 'rkbin'
- name: Clone workflow repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true
submodules: true
- name: Clean u-boot
run: |
cd u-boot-quartz64
Expand All @@ -67,7 +67,7 @@ jobs:
make ARCH=arm CROSS_COMPILE=aarch64-linux-gnu- ${{ matrix.boards.uboot-config }}
make ARCH=arm CROSS_COMPILE=aarch64-linux-gnu- -j$(nproc)
- name: Archive u-boot artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: u-boot-${{ matrix.boards.uboot-name }}
path: |
Expand All @@ -77,15 +77,15 @@ jobs:
# runs-on: self-hosted
# steps:
# - name: Clone workflow repository
# uses: actions/checkout@v3
# uses: actions/checkout@v4
# - name: Install toolchain
# run: |
# sudo apt-get -yq update && sudo apt-get -yq upgrade
# sudo apt-get -yq install build-essential crossbuild-essential-arm64 device-tree-compiler \
# autoconf bc bison flex ccache cpio dkms fakeroot kmod quilt rsync dh-exec \
# libssl-dev libncurses-dev libelf-dev libudev-dev libpci-dev libiberty-dev
# - name: Clone kernel repository
# uses: actions/checkout@v3
# uses: actions/checkout@v4
# with:
# repository: 'CounterPillow/linux'
# ref: 'quartz64-deploy'
Expand All @@ -100,7 +100,7 @@ jobs:
# cd linux
# make -j$(nproc) ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- deb-pkg
# - name: Archive kernel artifacts
# uses: actions/upload-artifact@v3
# uses: actions/upload-artifact@v4
# with:
# name: linux-kernel
# path: |
Expand Down Expand Up @@ -145,29 +145,33 @@ jobs:
GOPATH: /opt/src/gocode
steps:
- name: Clone workflow repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Download u-boot artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: u-boot-${{ matrix.boards.uboot-name}}
path: debos-recipes/u-boot/
# - name: Download kernel artifacts
# uses: actions/download-artifact@v3
# uses: actions/download-artifact@v4
# with:
# name: linux-kernel
# path: debos-recipes/overlays/linux-kernel/
- name: Install debos dependencies
run: |
sudo apt-get update
sudo apt-get install golang git libglib2.0-dev libostree-dev \
sudo apt-get install git libglib2.0-dev libostree-dev \
qemu-system-x86 qemu-user-static debootstrap \
systemd-container
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.19'
- name: Install debos
run: go install -v github.com/go-debos/debos/cmd/debos@latest
- name: Build ${{ matrix.boards.name }} Image
run: sudo /opt/src/gocode/bin/debos --disable-fakemachine debos-recipes/${{ matrix.boards.debos-yaml }}
- name: Archive image artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.boards.name }} Image
path: |
Expand All @@ -179,9 +183,9 @@ jobs:
- build_image
steps:
- name: Clone workflow repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Download image artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
path: artifacts/
- name: Generate checksums
Expand All @@ -191,7 +195,7 @@ jobs:
run: |
tar -caf u-boot.tar.gz artifacts/u-boot*
- name: Make release
uses: softprops/action-gh-release@v0.1.15
uses: softprops/action-gh-release@v2
with:
files: |
artifacts/**/plebian*.img.xz
Expand Down