Skip to content

Commit f1f17b7

Browse files
committed
CI fix
1 parent e5b4ceb commit f1f17b7

2 files changed

Lines changed: 31 additions & 4 deletions

File tree

.github/workflows/bindeb-pkg.yml

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ on:
33
push:
44
tags:
55
- "v*-visionfive2"
6+
branches:
7+
- '**fix**'
68
pull_request:
79
branches:
810
- "*stable"
@@ -11,16 +13,31 @@ jobs:
1113
runs-on: ubuntu-latest
1214
container: debian:trixie
1315
steps:
16+
- name: Install packages
17+
run: |
18+
export DEBIAN_FRONTEND=noninteractive
19+
dpkg --add-architecture riscv64
20+
apt -y update
21+
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
22+
1423
- uses: actions/checkout@v6
24+
name: Checkout self
1525
with:
1626
path: src
1727

18-
- name: Install packages and build
28+
- uses: actions/checkout@v6
29+
name: Checkout soft_3rdpart
30+
with:
31+
repository: starfive-tech/soft_3rdpart
32+
path: soft_3rdpart
33+
lfs: true
34+
35+
- name: Build
1936
run: |
2037
export TODAY=$(date --iso-8601)
21-
dpkg --add-architecture riscv64
22-
apt -y update
23-
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
38+
cd soft_3rdpart
39+
git apply ../src/.github/workflows/soft_3rdpart-patch-001.patch
40+
cd ..
2441
cd src
2542
cp config-r0b0 .config
2643
make O=$__kobj ARCH=riscv CROSS_COMPILE=riscv64-linux-gnu- olddefconfig
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
diff --git a/codaj12/jdi/linux/driver/Makefile b/codaj12/jdi/linux/driver/Makefile
2+
index b31553a..50f04df 100644
3+
--- a/codaj12/jdi/linux/driver/Makefile
4+
+++ b/codaj12/jdi/linux/driver/Makefile
5+
@@ -47,3 +47,5 @@ depend .depend dep:
6+
ifeq (.depend,$(wildcard .depend))
7+
include .depend
8+
endif
9+
+
10+
+KBUILD_CFLAGS_MODULE += -DMODULE

0 commit comments

Comments
 (0)