Skip to content

Commit

Permalink
action test
Browse files Browse the repository at this point in the history
  • Loading branch information
Neutree committed Mar 30, 2024
1 parent dac64be commit 671af2b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/build_maixcam.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This is a basic workflow to help you get started with Actions

name: Build source code and doc
name: Build MaixCAM

# Controls when the action will run.
on:
Expand All @@ -25,18 +25,22 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.11] # MaixCAM use 3.11
python-version: ["3.11"] # MaixCAM use 3.11
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Build MaixPy
run: |
echo "-- Check python version must python 3.11 --"
python3 -c 'import sys;print(sys.version); assert sys.version_info >= (3, 11)'
python -c 'import sys;print(sys.version); assert sys.version_info >= (3, 11)'
ls -al ~/.local/bin/
export PATH=~/.local/bin/:$PATH
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
# pull sipeed/MaixCDK repo here first
git clone https://github.com/sipeed/MaixCDK --depth=1
export MAIXCDK_PATH=`pwd`/MaixCDK
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/trigger_wiki.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This is a basic workflow to help you get started with Actions

name: trigger_sipeed_wiki_build
name: trigger wiki

# Controls when the action will run.
on:
Expand Down

0 comments on commit 671af2b

Please sign in to comment.