Skip to content

Commit

Permalink
Merge pull request #1 from radvd-project/robbat2/20250101
Browse files Browse the repository at this point in the history
feat: buildroot 2024.11 & performance
  • Loading branch information
robbat2 authored Jan 5, 2025
2 parents 33b803d + 4666485 commit b8f9eff
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/generate_images.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
name: Generate prebuilt images
on: [push, pull_request]
on:
pull_request:
branches:
- master
push:
branches:
- master
tags:
- 'v*'
workflow_dispatch:

jobs:
buildroot:
name: Build
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
strategy:
matrix:
defconfig_name:
Expand Down Expand Up @@ -32,14 +41,16 @@ jobs:
run: |
bash -x ${{ github.workspace }}/build-image.sh ${{ matrix.defconfig_name }} ${{ matrix.libc_name }} /home/runner
- name: Archive image
if: startsWith(github.ref, 'refs/tags')
run: |
tar -c ${{ env.BUILDROOT_DIRECTORY_NAME }} -f ${{ env.BUILDROOT_DIRECTORY_NAME }}.tar
- name: Compress image
if: startsWith(github.ref, 'refs/tags')
run: |
zstd -T0 -19 --rm -v ${{ env.BUILDROOT_DIRECTORY_NAME }}.tar
- name: Deploy image to repository release
if: startsWith(github.ref, 'refs/tags')
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2.2.0
with:
files: ${{ env.BUILDROOT_DIRECTORY_NAME }}.tar.zst
name: ${{ github.ref_name }}
Expand Down
2 changes: 1 addition & 1 deletion build-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ PrintMessage()
printf "\033[33m--> $1\033[0m\n"
}

BUILDROOT_VERSION=2023.08.3
BUILDROOT_VERSION=2024.02.3

# Check arguments
if [ $# -ne 3 ]
Expand Down

0 comments on commit b8f9eff

Please sign in to comment.