Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-pico
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
arduino-pico
Commits
f3b8c581
Unverified
Commit
f3b8c581
authored
Jul 23, 2024
by
Earle F. Philhower, III
Committed by
GitHub
Jul 23, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove obsolete TRAVIS CI variables (#2292)
Use GH native ones instead.
parent
6d115cdc
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
19 additions
and
26 deletions
+19
-26
.github/workflows/pull-request.yml
.github/workflows/pull-request.yml
+0
-5
.github/workflows/release-to-publish.yml
.github/workflows/release-to-publish.yml
+0
-1
.github/workflows/tag-to-draft-release.yml
.github/workflows/tag-to-draft-release.yml
+0
-1
tests/build-tinyusb.sh
tests/build-tinyusb.sh
+1
-1
tests/build.sh
tests/build.sh
+1
-1
tests/ci/build_boards.sh
tests/ci/build_boards.sh
+1
-1
tests/ci/build_docs.sh
tests/ci/build_docs.sh
+1
-1
tests/ci/build_package.sh
tests/ci/build_package.sh
+3
-3
tests/ci/host_test.sh
tests/ci/host_test.sh
+1
-1
tests/ci/style_check.sh
tests/ci/style_check.sh
+1
-1
tests/common.sh
tests/common.sh
+8
-8
tests/debug.sh
tests/debug.sh
+1
-1
tests/run_CI_locally.sh
tests/run_CI_locally.sh
+1
-1
No files found.
.github/workflows/pull-request.yml
View file @
f3b8c581
...
...
@@ -6,11 +6,6 @@ name: Arduino-Pico CI
on
:
pull_request
:
env
:
TRAVIS_BUILD_DIR
:
${{ github.workspace }}
TRAVIS_TAG
:
${{ github.ref }}
jobs
:
# Consistent style, spelling
...
...
.github/workflows/release-to-publish.yml
View file @
f3b8c581
...
...
@@ -33,7 +33,6 @@ jobs:
# pip install --upgrade platformio
-
name
:
Deploy updated JSON
env
:
TRAVIS_BUILD_DIR
:
${{ github.workspace }}
BUILD_TYPE
:
package
CI_GITHUB_API_KEY
:
${{ secrets.GITHUB_TOKEN }}
PLATFORMIO_AUTH_TOKEN
:
${{ secrets.PLATFORMIO_AUTH_TOKEN }}
...
...
.github/workflows/tag-to-draft-release.yml
View file @
f3b8c581
...
...
@@ -24,7 +24,6 @@ jobs:
python-version
:
'
3.x'
-
name
:
Build package JSON
env
:
TRAVIS_BUILD_DIR
:
${{ github.workspace }}
BUILD_TYPE
:
package
CI_GITHUB_API_KEY
:
${{ secrets.GITHUB_TOKEN }}
run
:
|
...
...
tests/build-tinyusb.sh
View file @
f3b8c581
...
...
@@ -2,7 +2,7 @@
cache_dir
=
$(
mktemp
-d
)
source
"
$
TRAVIS_BUILD_DIR
"
/tests/common.sh
source
"
$
GITHUB_WORKSPACE
"
/tests/common.sh
install_arduino nodebug
...
...
tests/build.sh
View file @
f3b8c581
...
...
@@ -2,7 +2,7 @@
cache_dir
=
$(
mktemp
-d
)
source
"
$
TRAVIS_BUILD_DIR
"
/tests/common.sh
source
"
$
GITHUB_WORKSPACE
"
/tests/common.sh
if
[
-z
"
$BUILD_PARITY
"
]
;
then
mod
=
1
...
...
tests/ci/build_boards.sh
View file @
f3b8c581
...
...
@@ -4,7 +4,7 @@
set
-ev
cd
$
TRAVIS_BUILD_DIR
cd
$
GITHUB_WORKSPACE
tools/boards.txt.py
--boardsgen
--ldgen
--packagegen
--docgen
...
...
tests/ci/build_docs.sh
View file @
f3b8c581
...
...
@@ -4,6 +4,6 @@
set
-ev
cd
$
TRAVIS_BUILD_DIR
/doc
cd
$
GITHUB_WORKSPACE
/doc
SPHINXOPTS
=
"-W"
make html
tests/ci/build_package.sh
View file @
f3b8c581
...
...
@@ -4,13 +4,13 @@
set
-ev
export
PKG_URL
=
https://github.com/esp8266/Arduino/releases/download/
$
TRAVIS_TAG
/esp8266-
$TRAVIS_TAG
.zip
export
DOC_URL
=
https://arduino-esp8266.readthedocs.io/en/
$
TRAVIS_TAG
/
export
PKG_URL
=
https://github.com/esp8266/Arduino/releases/download/
$
GITHUB_REF
/esp8266-
$GITHUB_REF
.zip
export
DOC_URL
=
https://arduino-esp8266.readthedocs.io/en/
$
GITHUB_REF
/
if
[
-z
"
$CI_GITHUB_API_KEY
"
]
;
then
echo
"Github API key not set. Skip building the package."
exit
0
fi
cd
$
TRAVIS_BUILD_DIR
/package
cd
$
GITHUB_WORKSPACE
/package
./build_boards_manager_package.sh
tests/ci/host_test.sh
View file @
f3b8c581
...
...
@@ -4,7 +4,7 @@
set
-ev
cd
$
TRAVIS_BUILD_DIR
/tests/host
cd
$
GITHUB_WORKSPACE
/tests/host
make
-j2
FORCE32
=
0 ssl
...
...
tests/ci/style_check.sh
View file @
f3b8c581
...
...
@@ -12,4 +12,4 @@ ${org}/../restyle.sh
git
--version
||
true
git submodule foreach
--recursive
'git reset --hard'
git diff
--exit-code
--
$
TRAVIS_BUILD_DIR
git diff
--exit-code
--
$
GITHUB_WORKSPACE
tests/common.sh
View file @
f3b8c581
...
...
@@ -230,9 +230,9 @@ function install_arduino()
{
local
debug
=
$1
# Install Arduino IDE and required libraries
cd
$
TRAVIS_BUILD_DIR
install_ide
$HOME
/arduino_ide
$
TRAVIS_BUILD_DIR
$debug
cd
$
TRAVIS_BUILD_DIR
cd
$
GITHUB_WORKSPACE
install_ide
$HOME
/arduino_ide
$
GITHUB_WORKSPACE
$debug
cd
$
GITHUB_WORKSPACE
install_libraries
}
...
...
@@ -244,7 +244,7 @@ function build_sketches_with_arduino()
# Compile sketches
build_sketches
$HOME
/arduino_ide
$HOME
/arduino_ide/examples
"-l
$HOME
/Arduino/libraries
${
build_extra
}
"
$build_mod
$build_rem
build_sketches
$HOME
/arduino_ide
$
TRAVIS_BUILD_DIR
/libraries
"-l
$HOME
/Arduino/libraries
${
build_extra
}
"
$build_mod
$build_rem
build_sketches
$HOME
/arduino_ide
$
GITHUB_WORKSPACE
/libraries
"-l
$HOME
/Arduino/libraries
${
build_extra
}
"
$build_mod
$build_rem
# Generate size report
cat
size.log
...
...
@@ -253,11 +253,11 @@ function build_sketches_with_arduino()
set
-e
if
[
-z
"
$
TRAVIS_BUILD_DIR
"
]
;
then
echo
"
TRAVIS_BUILD_DIR
is not set, trying to guess:"
if
[
-z
"
$
GITHUB_WORKSPACE
"
]
;
then
echo
"
GITHUB_WORKSPACE
is not set, trying to guess:"
pushd
$(
dirname
$0
)
/../
>
/dev/null
TRAVIS_BUILD_DIR
=
$PWD
GITHUB_WORKSPACE
=
$PWD
popd
>
/dev/null
echo
"
TRAVIS_BUILD_DIR=
$TRAVIS_BUILD_DIR
"
echo
"
GITHUB_WORKSPACE=
$GITHUB_WORKSPACE
"
fi
tests/debug.sh
View file @
f3b8c581
...
...
@@ -2,7 +2,7 @@
cache_dir
=
$(
mktemp
-d
)
source
"
$
TRAVIS_BUILD_DIR
"
/tests/common.sh
source
"
$
GITHUB_WORKSPACE
"
/tests/common.sh
if
[
"
$BUILD_PARITY
"
=
"even"
]
;
then
mod
=
2
...
...
tests/run_CI_locally.sh
View file @
f3b8c581
...
...
@@ -84,7 +84,7 @@ git submodule update --init
(
cd
pico-extras
&&
git submodule update
--init
)
export
HOME
=
"
${
TMPCI
}
"
export
TRAVIS_BUILD_DIR
=
"
${
TMPCI
}
"
export
GITHUB_WORKSPACE
=
"
${
TMPCI
}
"
export
BUILD_TYPE
=
"
$BUILD_TYPE
"
if
[
"
$BUILD_TYPE
"
=
"build"
]
;
then
...
...
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