File tree Expand file tree Collapse file tree 3 files changed +15
-3
lines changed
actions/common-build-steps Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 67
67
popd
68
68
fi
69
69
70
+ # JIMTCL
71
+ export JIMTCL_VER=jimtcl-0.83
72
+ cd $DL_DIR && wget https://dl.espressif.com/dl/$JIMTCL_VER.tar.gz -O $JIMTCL_VER.tar.gz
73
+ tar xzf $JIMTCL_VER.tar.gz && rm $JIMTCL_VER.tar.gz && pushd $JIMTCL_VER
74
+ ./configure --prefix="$PREFIX" --host=${CONF_HOST} --disable-shared CC=${HOST_CC}
75
+ make
76
+ # Running "make" does not create this file for static builds on Windows but "make install" still expects it
77
+ touch build-jim-ext
78
+ make install
79
+ popd
80
+
70
81
cd $PREFIX/../..
71
82
./bootstrap
72
83
./configure --prefix="$PREFIX/openocd" --host=${CONF_HOST} $OPENOCD_CONFIGURE_OPTS CC=${HOST_CC}
75
86
76
87
if [[ $ARCH == "windows" ]]; then
77
88
cp $PREFIX/lib/zlib1.dll $PREFIX/openocd/bin
89
+ cp `$HOST_CC --print-file-name=libgcc_s_dw2-1.dll` $PREFIX/openocd/bin/
78
90
fi
79
91
80
92
echo "ARTIFACT_PATH=$PREFIX/openocd" >> $GITHUB_ENV
Original file line number Diff line number Diff line change 40
40
arch : macos-arm64
41
41
42
42
build-linux :
43
- runs-on : ubuntu-20 .04
43
+ runs-on : ubuntu-22 .04
44
44
steps :
45
45
- uses : actions/checkout@v4
46
46
- name : install deps
51
51
arch : linux
52
52
53
53
build-windows :
54
- runs-on : ubuntu-20 .04
54
+ runs-on : ubuntu-22 .04
55
55
steps :
56
56
- uses : actions/checkout@v4
57
57
- name : install deps
Original file line number Diff line number Diff line change 40
40
41
41
run-linux-host :
42
42
name : Test OpenOCD on Linux
43
- runs-on : ubuntu-20 .04
43
+ runs-on : ubuntu-22 .04
44
44
steps :
45
45
- name : Checkout repository
46
46
uses : actions/checkout@v4
You can’t perform that action at this time.
0 commit comments