File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : CI Linux Build and Test
2
+
3
+ on :
4
+ push :
5
+ pull_request :
6
+
7
+ jobs :
8
+ build-and-test :
9
+ runs-on : ubuntu-latest
10
+
11
+ steps :
12
+ - name : Checkout Code
13
+ uses : actions/checkout@v4
14
+
15
+ - name : Install System Dependencies
16
+ run : sudo apt-get update && sudo apt-get install -y --no-install-recommends python3 python3-dev cmake g++ make
17
+
18
+ - name : Build with CMake
19
+ run : |
20
+ mkdir -p build
21
+ cd build
22
+ cmake ..
23
+ sudo cmake --build . --target install
24
+
25
+ - name : Run Application
26
+ run : |
27
+ export LOADER_LIBRARY_PATH="/usr/local/lib"
28
+ export LOADER_SCRIPT_PATH="`pwd`"
29
+ ./build/embedding-python-example
30
+
31
+ - name : Test Docker Build
32
+ run : |
33
+ docker build --build-arg DISABLE_CACHE=`date +%s` -t metacall/embedding-python-example .
34
+ docker run --rm metacall/embedding-python-example
You can’t perform that action at this time.
0 commit comments