Skip to content

fix structure

fix structure #1

Workflow file for this run

name: vf2-firmware
-- once a week

Check failure on line 3 in .github/workflows/vf2-firmware.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/vf2-firmware.yaml

Invalid workflow file

You have an error in your yaml syntax on line 3
on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: '0 0 * * 0'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Pull submodules
run: git submodule update --init --recursive --depth=1
- name: Install dependencies
run: |
sudo apt update
sudo apt install -y riscv64-unknown-linux-gnu-gcc
- name: Build OpenSBI
run: |
cd opensbi
make PLATFORM=generic CROSS_COMPILE=riscv64-unknown-linux-gnu- BUILD_INFO=y FW_OPTIONS=0
- name: Build U-Boot
run: |
cd u-boot
make CROSS_COMPILE=riscv64-unknown-linux-gnu- starfive_visionfive2_defconfig
make CROSS_COMPILE=riscv64-unknown-linux-gnu- OPENSBI=../opensbi/platform/generic/firmware/fw_dynamic.bin
- name: Release
uses: softprops/action-gh-release@v1
with:
files: |
u-boot/spl/u-boot-spl.bin.normal.out
u-boot/u-boot.itb
token: ${{ secrets.GITHUB_TOKEN }}
tag_name: ${{ github.sha }}
release_name: ${{ github.sha }}
body: Automated release