Skip to content

Commit 651838d

Browse files
committed
Add installPyparsing function
1 parent 83fc6be commit 651838d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

robomaker-sample-app-ci/src/aws-robomaker-sample-application-ci.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,9 @@ async function bundle() {
132132
await exec.exec("rm", ["-rf", "bundle"], getWorkingDirExecOptions()); // github actions have been failing with no disk space
133133
}
134134

135-
async function build() {
136-
await exec.exec("colcon", ["build", "--build-base", "build", "--install-base", "install"], getWorkingDirExecOptions());
135+
async function installPyparsing() {
136+
# install pyparsing-2.0.2 to a local directory so that it can be added to PYTHONPATH env variable
137+
await exec.exec("bash", ["-c", `pip3 install --install-option="--prefix=/home/pypackages" pyparsing==2.0.2`, getWorkingDirExecOptions()]);
137138
}
138139

139140
async function run() {

0 commit comments

Comments
 (0)