ci: test demo with python 3.12
This commit is contained in:
12
.github/workflows/go.yml
vendored
12
.github/workflows/go.yml
vendored
@@ -129,7 +129,17 @@ jobs:
|
|||||||
|
|
||||||
- name: Test demos
|
- name: Test demos
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
run: bash .github/workflows/test_demo.sh
|
run: |
|
||||||
|
# TODO(lijie): force python3-embed to be linked with python-3.12-embed
|
||||||
|
# Currently, python3-embed is python-3.13-embed, doesn't work with pytorch
|
||||||
|
# Will remove this after pytorch is fixed.
|
||||||
|
pcdir=$HOME/pc
|
||||||
|
mkdir -p $pcdir
|
||||||
|
libdir=$(pkg-config --variable=libdir python-3.12-embed)
|
||||||
|
echo "libdir: $libdir"
|
||||||
|
ln -s $libdir/pkgconfig/python-3.12-embed.pc $pcdir/python3-embed.pc
|
||||||
|
export PKG_CONFIG_PATH=$pcdir
|
||||||
|
bash .github/workflows/test_demo.sh
|
||||||
|
|
||||||
- name: Show test result
|
- name: Show test result
|
||||||
run: cat result.md
|
run: cat result.md
|
||||||
|
|||||||
Reference in New Issue
Block a user