Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
micropython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
micropython
Commits
b8f4c623
Commit
b8f4c623
authored
Jan 21, 2021
by
Damien George
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
github/workflows: Add CI workflow for rp2 port.
Signed-off-by:
Damien George
<
damien@micropython.org
>
parent
469345e7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
37 additions
and
0 deletions
+37
-0
.github/workflows/ports_rp2.yml
.github/workflows/ports_rp2.yml
+23
-0
tools/ci.sh
tools/ci.sh
+14
-0
No files found.
.github/workflows/ports_rp2.yml
0 → 100644
View file @
b8f4c623
name
:
rp2 port
on
:
push
:
pull_request
:
paths
:
-
'
.github/workflows/*.yml'
-
'
tools/**'
-
'
py/**'
-
'
extmod/**'
-
'
lib/**'
-
'
drivers/**'
-
'
ports/rp2/**'
jobs
:
build
:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Install packages
run
:
source tools/ci.sh && ci_rp2_setup
-
name
:
Build
run
:
source tools/ci.sh && ci_rp2_build
tools/ci.sh
View file @
b8f4c623
...
...
@@ -176,6 +176,20 @@ function ci_qemu_arm_build {
make
${
MAKEOPTS
}
-C
ports/qemu-arm
-f
Makefile.test
test
}
########################################################################################
# ports/rp2
function
ci_rp2_setup
{
ci_gcc_arm_setup
}
function
ci_rp2_build
{
make
${
MAKEOPTS
}
-C
mpy-cross
git submodule update
--init
lib/pico-sdk
git
-C
lib/pico-sdk submodule update
--init
lib/tinyusb
make
${
MAKEOPTS
}
-C
ports/rp2
}
########################################################################################
# ports/samd
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment