Skip to content

Commit

Permalink
ci release test
Browse files Browse the repository at this point in the history
  • Loading branch information
Neutree committed Jun 20, 2024
1 parent fedb378 commit ef591b8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/release_maixcam.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,19 +49,21 @@ jobs:
echo "-- Test MaixPy basic for Linux now --"
echo "--------------------------------"
chmod +x ./run.sh && ./run.sh test/test_basic.py
release_path=`ls dist|awk '{print $1}'`
release_name=`ls dist|awk '{print $1}'`
release_path=dist/$release_name
echo ::set-output name=release_linux_path::$release_path
echo ::set-output name=release_linux_name::$release_path
echo ::set-output name=release_linux_name::$release_name
mkdir -p artifact
cp dist/* artifact/
echo "----------------------------------"
echo "-- Build MaixPy for MaixCAM now --"
echo "----------------------------------"
python setup.py bdist_wheel maixcam
cp dist/* artifact/
release_path=`ls dist|awk '{print $1}'`
release_name=`ls dist|awk '{print $1}'`
release_path=dist/$release_name
echo ::set-output name=release_path::$release_path
echo ::set-output name=release_name::$release_path
echo ::set-output name=release_name::$release_name
- name: Publish MaixPy to pypi.org
run: |
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/release_other_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ jobs:
- name: Build MaixPy
id: build_maixpy
run: |
echo "-- Check python version must python 3.11 --"
python3 -c 'import sys;print(sys.version);assert sys.version_info >= (3, 11);assert sys.version_info < (3, 12)'
python -c 'import sys;print(sys.version);assert sys.version_info >= (3, 11);assert sys.version_info < (3, 12)'
whereis python
whereis python3
# export PATH=~/.local/bin/:$PATH
Expand All @@ -48,9 +45,10 @@ jobs:
echo "--------------------------------"
echo "-- Test MaixPy basic for Linux now --"
echo "--------------------------------"
release_path=`ls dist|awk '{print $1}'`
release_name=`ls dist|awk '{print $1}'`
release_path=dist/$release_name
echo ::set-output name=release_path::$release_path
echo ::set-output name=release_name::$release_path
echo ::set-output name=release_name::$release_name
- name: Publish MaixPy to pypi.org
run: |
Expand Down
2 changes: 1 addition & 1 deletion maix/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@

version_major = 4
version_minor = 3
version_patch = 3
version_patch = 4

__version__ = "{}.{}.{}".format(version_major, version_minor, version_patch)

0 comments on commit ef591b8

Please sign in to comment.