Skip to content

Commit 0a25a22

Browse files
committed
final examples
1 parent a44211f commit 0a25a22

File tree

1 file changed

+15
-8
lines changed

1 file changed

+15
-8
lines changed

scripts/ci/emscripten/examples_to_build.sh

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,25 @@
11
#!/bin/bash
22

3-
# List of folder paths to iterate through make sure there is no trailing slash
3+
# List of examples to build - add emscripten compatible examples to this list
4+
# NOTE: make sure there is no trailing slash!!!
45
folders=(
6+
#3d
57
"examples/3d/pointCloudExample"
68
"examples/3d/3DPrimitivesExample"
7-
# "examples/3d/ofxAssimpBoneControlExample"
8-
# "examples/3d/ofxAssimpAdvancedExample"
9+
"examples/3d/ofxAssimpBoneControlExample"
10+
# "examples/3d/ofxAssimpAdvancedExample" #broken currently
11+
"examples/3d/ofNodeExample"
12+
"examples/3d/modelNoiseExample"
13+
#gl
14+
"examples/gl/shadowsExample"
15+
"examples/gl/materialPBR"
16+
"examples/gl/materialPBRAdvanced"
17+
"examples/gl/vboMeshDrawInstancedExample"
18+
#math
19+
"examples/math/noise1dOctaveExample"
920
# Add more paths as needed
1021
)
1122

12-
#echo "RUNNING IN CI ${GH_BRANCH} ${GH_ACTIONS}"
13-
#echo "TRYING USER/SERVER ${GA_EXAMPLES_USER}@${GA_EXAMPLES_SERVER}"
14-
1523
cur_root=$(pwd);
1624
cd $cur_root;
1725
mkdir -p out
@@ -45,8 +53,7 @@ done
4553
cd $cur_root;
4654
DO_UPLOAD="false"
4755

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

0 commit comments

Comments
 (0)