Skip to content

Commit d6ba063

Browse files
authored
Update cmake-multi-platform.yml
1 parent 127f077 commit d6ba063

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/cmake-multi-platform.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
- name: Build project
2222
run: |
2323
# Placeholder: Replace with your build commands (e.g., make, cmake)
24+
chdir /home/runner/work/ae2f/CL-Ann
2425
rm -r -f build
2526
cd build
2627
cmake ..
@@ -29,7 +30,7 @@ jobs:
2930
3031
- name: Run tests
3132
run: |
32-
cd build
33+
chdir /home/runner/work/ae2f/CL-Ann/build
3334
ctest
3435
cd ..
3536
@@ -60,17 +61,18 @@ jobs:
6061
shell: cmd
6162
run: |
6263
# Placeholder: Replace with your build commands (e.g., MSBuild, cmake)
64+
chdir C:/Users/runneradmin/work/ae2f/CL-Ann
6365
echo Building OpenCL project on Windows...
64-
cd build
66+
chdir build
6567
cmake ..
6668
cmake --build .
67-
cd ..
69+
chdir ..
6870
6971
- name: Run tests
7072
shell: cmd
7173
run: |
7274
# Placeholder: Replace with your test commands
7375
echo Running tests on Windows...
74-
cd build
76+
chdir C:/Users/runneradmin/work/ae2f/CL-Ann/build
7577
ctest
76-
cd ..
78+
chdir ..

0 commit comments

Comments
 (0)