Skip to content

Commit a4bcb32

Browse files
build(msys): making the buildAllExample for flexible
1 parent 3ba7f47 commit a4bcb32

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/of.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ jobs:
111111
run: ./scripts/ci/msys2/build.sh
112112

113113
- name: Allexamples
114-
run: ./scripts/msys2/buildAllExamples.sh
114+
run: ./scripts/msys2/buildAllExamples.sh .
115115

116116
# - name: Run tests
117117
# run: ./scripts/ci/msys2/run_tests.sh

scripts/msys2/buildAllExamples.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,13 @@
22

33
export LC_ALL=C
44

5-
examples_dir=../../examples
5+
#!/bin/bash
6+
if [ -z "$1" ]; then
7+
examples_dir=../../examples
8+
else
9+
examples_dir="$1"
10+
fi
11+
612
examples_prefix="$examples_dir/"
713

814
system=msys2

0 commit comments

Comments
 (0)