Skip to content

Commit

Permalink
update ci add artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
Neutree committed Jun 20, 2024
1 parent cd09857 commit 7ac8f2e
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/build_maixcam.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,26 @@ jobs:
echo "-- Test MaixPy basic for Linux now --"
echo "--------------------------------"
chmod +x ./run.sh && ./run.sh test/test_basic.py
- name: Upload MaixPy Linux firmware as artifact
uses: actions/upload-artifact@v4
with:
name: upload_maixpy_firmware_linux
path: dist/*.whl

- name: Build MaixPy
run: |
echo "----------------------------------"
echo "-- Build MaixPy for MaixCAM now --"
echo "----------------------------------"
python setup.py bdist_wheel maixcam
- name: Upload MaixPy MaixCAM firmware as artifact
uses: actions/upload-artifact@v4
with:
name: upload_maixpy_firmware_maixcam
path: dist/*.whl

# Runs a set of commands using the runners shell
- name: Push doc to github pages
run: |
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/build_maixcam_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,26 @@ jobs:
echo "-- Test MaixPy basic for Linux now --"
echo "--------------------------------"
chmod +x ./run.sh && ./run.sh test/test_basic.py
- name: Upload MaixPy Linux firmware as artifact
uses: actions/upload-artifact@v4
with:
name: upload_maixpy_firmware_linux
path: dist/*.whl

- name: Build MaixPy
run: |
echo "----------------------------------"
echo "-- Build MaixPy for MaixCAM now --"
echo "----------------------------------"
python setup.py bdist_wheel maixcam
- name: Upload MaixPy MaixCAM firmware as artifact
uses: actions/upload-artifact@v4
with:
name: upload_maixpy_firmware_maixcam
path: dist/*.whl

# Runs a set of commands using the runners shell
- name: build doc
run: |
Expand Down

0 comments on commit 7ac8f2e

Please sign in to comment.