Skip to content

Bump kernel: v5.15 -> v6.6 #4

Bump kernel: v5.15 -> v6.6

Bump kernel: v5.15 -> v6.6 #4

Workflow file for this run

name: Bob the Builder
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build:
name: Build Latest Commit
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Restore Cache of dl/
uses: actions/cache@v3
with:
path: dl/
key: dl-${{ hashFiles('.git/modules/buildroot/HEAD', 'configs/*') }}
restore-keys: |
dl-
- name: Restore Cache of .ccache/
uses: actions/cache@v3
with:
path: .ccache/
key: ccache-${{ hashFiles('.git/modules/buildroot/HEAD', 'configs/*') }}
restore-keys: |
ccache-
- name: Configure & Build
run: |
make qemu_x86_64_defconfig
make
- name: Prepare Artifact
run: |
cd output
mv images br2-finit-demo
ln -s br2-finit-demo images
tar chfz br2-finit-demo.tgz br2-finit-demo
- uses: actions/upload-artifact@v4
with:
path: output/br2-finit-demo.tgz
release:
if: ${{github.repository_owner == 'troglobit' && github.ref_name == 'main'}}
name: Upload Latest Build
needs: build
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/download-artifact@v4
- name: Display structure of downloaded files
run: ls -R
- uses: ncipollo/release-action@v1
with:
allowUpdates: true
omitName: true
omitBody: true
omitBodyDuringUpdate: true
prerelease: true
tag: "latest"
token: ${{ secrets.GITHUB_TOKEN }}
artifacts: "artifact/*"
- name: Summary
run: |
cat <<EOF >> $GITHUB_STEP_SUMMARY
# Latest Build Complete! :rocket:
For the public download links of these build artifacts, please see:
<https://github.com/troglobit/br2-finit-demo/releases/tag/latest>
EOF