Skip to content

Commit 81abd42

Browse files
committed
Try to fix bad substitution error V2
1 parent 726fd23 commit 81abd42

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/nightly.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ jobs:
3939
--env BUILD_TYPE=${{matrix.build_type}} \
4040
umf-ubuntu-20.04 \
4141
bash -c "
42-
sudo apt-get update &&
43-
sudo apt-get install -y cmake hwloc libhwloc-dev libnuma-dev libtbb-dev &&
42+
apt-get update &&
43+
apt-get install -y cmake hwloc libhwloc-dev libnuma-dev libtbb-dev &&
4444
cmake -B /workspace/build \
4545
-DCMAKE_BUILD_TYPE=\$BUILD_TYPE \
4646
-DCMAKE_C_COMPILER=${{matrix.compiler.c}} \
@@ -75,10 +75,11 @@ jobs:
7575
docker run --rm \
7676
-v ${{github.workspace}}:/workspace \
7777
-w /workspace \
78+
--env TOOL=${{ matrix.tool }} \
7879
umf-ubuntu-20.04 \
7980
bash -c "\
80-
sudo apt-get update &&
81-
sudo apt-get install -y cmake hwloc libhwloc-dev libnuma-dev libtbb-dev valgrind &&
81+
apt-get update &&
82+
apt-get install -y cmake hwloc libhwloc-dev libnuma-dev libtbb-dev valgrind &&
8283
cmake -B /workspace/build \
8384
-DCMAKE_BUILD_TYPE=Debug \
8485
-DUMF_FORMAT_CODE_STYLE=OFF \
@@ -90,7 +91,7 @@ jobs:
9091
-DUMF_USE_VALGRIND=1 \
9192
-DUMF_TESTS_FAIL_ON_SKIP=ON &&
9293
cmake --build /workspace/build --config Debug -j$(nproc) &&
93-
/workspace/test/test_valgrind.sh /workspace /workspace/build ${matrix.tool}
94+
/workspace/test/test_valgrind.sh /workspace /workspace/build \$TOOL
9495
"
9596
9697
# TODO fix #843

0 commit comments

Comments
 (0)