Skip to content

Commit

Permalink
Add step for test interpterer on existing .qrs
Browse files Browse the repository at this point in the history
  • Loading branch information
MinyazevR committed Nov 6, 2024
1 parent b3212c6 commit ca10c5c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/installer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,18 @@ jobs:
- name: Run minimal tests
run: |
TWOD_EXEC_NAME=$(ls -1d $BIN_DIR/2D-model* | head -n 1)
#TRIK_PYTHONPATH_BUNDLE_DIR="$LIB_DIR"/python-runtime
#export TRIK_PYTHONPATH=.:"${TRIK_PYTHONPATH_BUNDLE_DIR}/base_library.zip:${TRIK_PYTHONPATH_BUNDLE_DIR}/lib-dynload:${TRIK_PYTHONPATH_BUNDLE_DIR}"
for i in $GITHUB_WORKSPACE/testing_small/*; do "$TWOD_EXEC_NAME" -b -s 5 "$i" --platform minimal; done
- name: Run minimal JavaScript interpeter tests
run: |
TWOD_EXEC_NAME=$(ls -1d $BIN_DIR/2D-model* | head -n 1)
for i in $GITHUB_WORKSPACE/testing_small/*; do "$TWOD_EXEC_NAME" --generate-path "$i".js --generate-mode javascript \
-b -s 5 --direct-script-path "$i".js "$i" --platform minimal; done
- name: Run minimal Python interpeter tests
run: |
TRIK_PYTHONPATH_BUNDLE_DIR="$LIB_DIR"/python-runtime
export TRIK_PYTHONPATH=.:"${TRIK_PYTHONPATH_BUNDLE_DIR}/base_library.zip:${TRIK_PYTHONPATH_BUNDLE_DIR}/lib-dynload:${TRIK_PYTHONPATH_BUNDLE_DIR}"
TWOD_EXEC_NAME=$(ls -1d $BIN_DIR/2D-model* | head -n 1)
for i in $GITHUB_WORKSPACE/testing_small/*; do "$TWOD_EXEC_NAME" --generate-path "$i".py \
-b -s 5 --direct-script-path "$i".py "$i" --platform minimal; done
2 changes: 1 addition & 1 deletion buildScripts/github/install_installer_macOS.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ls "/Applications/TRIKStudio/TRIK Studio.app/Contents/MacOS"
export DYLD_LIBRARY_PATH="$LIB_DIR"
"$BIN_DIR"/2D-model --version
"$BIN_DIR"/patcher --version
"$APP_DIR"/maintenance --version
/Applications/TRIKStudio/maintenance.app/Contents/MacOS/maintenance --version
"$APP_DIR"/trik-studio --version

cd "$LIB_DIR"
Expand Down

0 comments on commit ca10c5c

Please sign in to comment.