Skip to content

Commit 5d81de8

Browse files
committed
added export LOADER_LIBRARY_PATH export LOADER_SCRIPT_PATH
1 parent c8afe23 commit 5d81de8

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed

.github/workflows/ci.yml

+17-5
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ on:
44
push:
55
branches:
66
- master
7-
- adding_CI
7+
- tester
88
pull_request:
99
branches:
1010
- master
11-
- adding_CI
11+
- tester
1212

1313
jobs:
1414
build-and-test:
@@ -47,6 +47,9 @@ jobs:
4747
sudo cmake --build . --target install
4848
sudo ldconfig /usr/local/lib
4949
cd ../..
50+
sudo rm -rf core
51+
ls #--------------------------just_checking_if_we_are_in_the_correct_folder
52+
5053
5154
- name: Copy files to destination
5255
run: |
@@ -57,11 +60,20 @@ jobs:
5760
sudo cp scripts/uring.c /home/scripts/
5861
sudo cp scripts/script.ld /home/scripts/
5962
shell: bash
60-
6163

62-
- name: Run MetaCall Example
64+
- name: checking if uring.c is not altered somehow
65+
run: sudo cat /home/scripts/uring.c
66+
67+
- name: checking if script.ld is not altered somehow
68+
run: sudo cat /home/scripts/script.ld
69+
70+
- name: Set path & Run MetaCall Example
6371
run: |
64-
metacallcli /root/index.js
72+
export LOADER_LIBRARY_PATH=/usr/local/lib
73+
export LOADER_SCRIPT_PATH=/home/scripts
74+
env | grep LOADER_LIBRARY_PATH #----------------------------------------just_checking_if_enviroment_path_is_set_correctly
75+
env | grep LOADER_SCRIPT_PATH
76+
sudo metacallcli /root/index.js
6577
6678
- name: Wait for server to be ready
6779
run: |

0 commit comments

Comments
 (0)