Commit e2e8a5a 1 parent db3a85e commit e2e8a5a Copy full SHA for e2e8a5a
File tree 1 file changed +15
-7
lines changed
1 file changed +15
-7
lines changed Original file line number Diff line number Diff line change 1
- name : Test
1
+ name : Build CSPICE Toolkit
2
2
3
3
on :
4
4
push :
5
5
branches :
6
6
- main
7
7
paths :
8
8
- ' cspice-sharedlib.sh'
9
- - ' .github/workflows/test .yml'
9
+ - ' .github/workflows/build .yml'
10
10
11
11
pull_request :
12
12
paths :
13
13
- ' cspice-sharedlib.sh'
14
- - ' .github/workflows/test .yml'
14
+ - ' .github/workflows/build .yml'
15
15
16
16
jobs :
17
17
18
18
build :
19
- name : Test build
19
+ name : Test build and install
20
20
21
21
runs-on : ubuntu-latest
22
- env :
23
- CC : gcc
24
- CFLAGS : -Os -Wall -Wextra -Werror -std=c99
25
22
steps :
26
23
- uses : actions/checkout@v4
27
24
44
41
45
42
- name : List executables
46
43
run : ls -l cspice/exe/
44
+
45
+ - name : Install libraries in /usr/lib
46
+ run : sudo cp cspice/lib/* /usr/lib/
47
+
48
+ - name : Install binaries in /usr/bin
49
+ run : sudo cp cspice/exe/* /usr/bin/
50
+
51
+ - name : Install headers in /usr/include/cspice
52
+ run : |
53
+ sudo mkdir /usr/include/cspice
54
+ sudo cp cspice/include/* /usr/include/cspice/
47
55
48
56
49
57
You can’t perform that action at this time.
0 commit comments