Skip to content

Commit

Permalink
final examples
Browse files Browse the repository at this point in the history
  • Loading branch information
ofTheo committed Dec 5, 2023
1 parent a44211f commit 0a25a22
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions scripts/ci/emscripten/examples_to_build.sh
Original file line number Diff line number Diff line change
@@ -1,17 +1,25 @@
#!/bin/bash

# List of folder paths to iterate through make sure there is no trailing slash
# List of examples to build - add emscripten compatible examples to this list
# NOTE: make sure there is no trailing slash!!!
folders=(
#3d
"examples/3d/pointCloudExample"
"examples/3d/3DPrimitivesExample"
# "examples/3d/ofxAssimpBoneControlExample"
# "examples/3d/ofxAssimpAdvancedExample"
"examples/3d/ofxAssimpBoneControlExample"
# "examples/3d/ofxAssimpAdvancedExample" #broken currently
"examples/3d/ofNodeExample"
"examples/3d/modelNoiseExample"
#gl
"examples/gl/shadowsExample"
"examples/gl/materialPBR"
"examples/gl/materialPBRAdvanced"
"examples/gl/vboMeshDrawInstancedExample"
#math
"examples/math/noise1dOctaveExample"
# Add more paths as needed
)

#echo "RUNNING IN CI ${GH_BRANCH} ${GH_ACTIONS}"
#echo "TRYING USER/SERVER ${GA_EXAMPLES_USER}@${GA_EXAMPLES_SERVER}"

cur_root=$(pwd);
cd $cur_root;
mkdir -p out
Expand Down Expand Up @@ -45,8 +53,7 @@ done
cd $cur_root;
DO_UPLOAD="false"

#if [[ "$GH_ACTIONS" = true && "${GH_BRANCH}" == "master" && -z "${GH_HEAD_REF}" ]]; then
if [[ "$GH_ACTIONS" = "true" ]]; then
if [[ "$GH_ACTIONS" = true && "${GH_BRANCH}" == "master" && -z "${GH_HEAD_REF}" ]]; then
echo "upload 1/2 - make key file"
# Temporary file to store the private key
key_file=$(mktemp)
Expand Down

0 comments on commit 0a25a22

Please sign in to comment.