CI fix #27
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: bindeb-pkg | |
| on: | |
| push: | |
| tags: | |
| - "v*-visionfive2" | |
| branches: | |
| - '**fix**' | |
| pull_request: | |
| branches: | |
| - "*stable" | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| container: debian:trixie | |
| steps: | |
| - name: Install packages | |
| run: | | |
| export DEBIAN_FRONTEND=noninteractive | |
| dpkg --add-architecture riscv64 | |
| apt -y update | |
| apt -y install libncurses-dev libssl-dev bc flex bison make build-essential crossbuild-essential-riscv64 debhelper-compat cpio kmod libelf-dev rsync libssl-dev:riscv64 git git-lfs | |
| - uses: actions/checkout@v6 | |
| name: Checkout self | |
| with: | |
| path: src | |
| - uses: actions/checkout@v6 | |
| name: Checkout soft_3rdpart | |
| with: | |
| repository: starfive-tech/soft_3rdpart | |
| path: soft_3rdpart | |
| lfs: true | |
| - name: Build | |
| run: | | |
| TODAY=$(date --iso-8601) | |
| export LOCALVERSION=-r0b0-$TODAY | |
| export ARCH=riscv | |
| export CROSS_COMPILE=riscv64-linux-gnu- | |
| cd soft_3rdpart | |
| git apply ../src/.github/workflows/soft_3rdpart-patch-001.patch | |
| cd .. | |
| cd src | |
| cp config-r0b0 .config | |
| make olddefconfig -j $(nproc) | |
| make modules -j $(nproc) | |
| make M=../soft_3rdpart/wave511/code/vdi/linux/driver -j $(nproc) | |
| make M=../soft_3rdpart/codaj12/jdi/linux/driver -j $(nproc) | |
| make M=../soft_3rdpart/wave420l/code/vdi/linux/driver -j $(nproc) | |
| make bindeb-pkg -j $(nproc) | |
| - uses: actions/upload-artifact@v7 | |
| with: | |
| name: "Debian packages" | |
| compression-level: 0 | |
| path: "*.deb" |