@@ -21,27 +21,26 @@ jobs:
21
21
- name : install dependencies
22
22
run : |
23
23
sudo apt-get update -qq && sudo apt-get -y install \
24
- build-essential \
25
24
cmake
26
-
25
+
27
26
- name : Build xeve baseline
28
27
run : |
29
28
mkdir build
30
29
cd build
31
30
cmake .. -DSET_PROF=BASE
32
31
make
33
-
32
+
34
33
- name : ' Upload executable Artifact'
35
34
uses : actions/upload-artifact@v3
36
35
with :
37
- name : xeveb_app-linux-artifact
36
+ name : xeveb_app-linux
38
37
path : build/bin/xeveb_app
39
38
retention-days : 5
40
-
39
+
41
40
- name : ' Upload library Artifact'
42
41
uses : actions/upload-artifact@v3
43
42
with :
44
- name : libxeveb-linux-artifact
43
+ name : libxeveb-linux
45
44
path : build/lib/
46
45
retention-days : 5
47
46
@@ -51,104 +50,85 @@ jobs:
51
50
- uses : actions/checkout@v3
52
51
with :
53
52
fetch-depth : 0
54
-
53
+
55
54
- name : install dependencies
56
55
run : |
57
56
sudo apt-get update -qq && sudo apt-get -y install \
58
- build-essential \
59
57
cmake
60
-
58
+
61
59
- name : Build xeve main
62
60
run : |
63
61
mkdir build
64
62
cd build
65
63
cmake ..
66
64
make
67
-
65
+
68
66
- name : ' Upload executable Artifact'
69
67
uses : actions/upload-artifact@v3
70
68
with :
71
- name : xeve_app-linux-artifact
69
+ name : xeve_app-linux
72
70
path : build/bin/xeve_app
73
71
retention-days : 5
74
-
72
+
75
73
- name : ' Upload library Artifact'
76
74
uses : actions/upload-artifact@v3
77
75
with :
78
- name : libxeve-linux-artifact
76
+ name : libxeve-linux
79
77
path : build/lib/
80
78
retention-days : 5
81
-
79
+
82
80
build-baseline-windows :
83
81
runs-on : windows-latest
84
82
steps :
85
83
- uses : actions/checkout@v3
86
84
with :
87
85
fetch-depth : 0
88
86
89
- - name : Set up MinGW
90
- uses : egor-tensin/setup-mingw@v2
91
- with :
92
- platform : x64
93
-
94
- - name : Get CMake
95
-
96
-
97
87
- name : Build xeve baseline
98
88
run : |
99
89
mkdir build
100
90
cd build
101
91
cmake .. -G "MinGW Makefiles" -DSET_PROF=BASE
102
92
make
103
-
104
- # TODO: need to check build paths on Windows
105
- # - name: 'Upload executable Artifact'
106
- # uses: actions/upload-artifact@v3
107
- # with:
108
- # name: xeveb_app-windows-artifact
109
- # path: build/bin/xeveb_app
110
- # retention-days: 5
111
-
112
- # - name: 'Upload library Artifact'
113
- # uses: actions/upload-artifact@v3
114
- # with:
115
- # name: libxeveb-windows-artifact
116
- # path: build/lib/
117
- # retention-days: 5
93
+
94
+ - name : ' Upload executable Artifact'
95
+ uses : actions/upload-artifact@v3
96
+ with :
97
+ name : xeveb_app-windows
98
+ path : build/bin/xeveb_app.exe
99
+ retention-days : 5
100
+
101
+ - name : ' Upload library Artifacts'
102
+ uses : actions/upload-artifact@v3
103
+ with :
104
+ name : libxeveb-windows
105
+ path : build/src_base/libxeveb.*
106
+ retention-days : 5
118
107
119
108
build-main-windows :
120
109
runs-on : windows-latest
121
110
steps :
122
111
- uses : actions/checkout@v3
123
112
with :
124
113
fetch-depth : 0
125
-
126
- - name : Set up MinGW
127
- uses : egor-tensin/setup-mingw@v2
128
- with :
129
- platform : x64
130
-
131
- - name : Get CMake
132
-
133
-
114
+
134
115
- name : Build xeve main
135
116
run : |
136
117
mkdir build
137
118
cd build
138
119
cmake .. -G "MinGW Makefiles"
139
120
make
140
-
141
- # TODO: need to check build paths on Windows
142
- # - name: 'Upload executable Artifact'
143
- # uses: actions/upload-artifact@v3
144
- # with:
145
- # name: xeve_app-windows-artifact
146
- # path: build/bin/xeve_app
147
- # retention-days: 5
148
-
149
- # - name: 'Upload library Artifact'
150
- # uses: actions/upload-artifact@v3
151
- # with:
152
- # name: libxeve-windows-artifact
153
- # path: build/lib/
154
- # retention-days: 5
121
+
122
+ - name : ' Upload executable Artifact'
123
+ uses : actions/upload-artifact@v3
124
+ with :
125
+ name : xeve_app-windows
126
+ path : build/bin/xeve_app.exe
127
+ retention-days : 5
128
+
129
+ - name : ' Upload library Artifacts'
130
+ uses : actions/upload-artifact@v3
131
+ with :
132
+ name : libxeve-windows
133
+ path : build/src_main/libxeve.*
134
+ retention-days : 5
0 commit comments