File tree Expand file tree Collapse file tree 3 files changed +12
-24
lines changed Expand file tree Collapse file tree 3 files changed +12
-24
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,9 @@ BUILD_DATE=$(date +"%a %b %d %Y")
6
6
VERSION_NUMBER=$( grep " project.*" CMakeLists.txt | egrep -o " ${VERSION_REGEX} " )
7
7
WORKSPACE=" $GITHUB_WORKSPACE "
8
8
INSTALL_PREFIX=" $WORKSPACE /tmp"
9
+ BUILD_TYPE=" $MATRIX_BUILD_TYPE "
9
10
10
- echo " BUILD_TYPE=Debug " >> $GITHUB_ENV
11
+ echo " BUILD_TYPE=$BUILD_TYPE " >> $GITHUB_ENV
11
12
echo " BUILD_TIME=$BUILD_TIME " >> $GITHUB_ENV
12
13
echo " BUILD_DATE=$BUILD_DATE " >> $GITHUB_ENV
13
14
echo " WORKSPACE=$WORKSPACE " >> $GITHUB_ENV
Original file line number Diff line number Diff line change 7
7
- " v*"
8
8
9
9
jobs :
10
- build :
11
- runs-on : ubuntu-latest
12
- steps :
13
- - name : Checkout
14
- uses : actions/checkout@v2
15
-
16
- - name : Install Qt
17
- uses : jurplel/install-qt-action@v2
18
- with :
19
- version : ' 5.15.2'
20
- host : ' linux'
21
- install-deps : ' true'
22
-
23
- - name : Install dependencies
24
- run : sudo apt-get install tesseract-ocr libtesseract-dev
25
-
26
- - name : Build
27
- run : |
28
- mkdir build
29
- cd build
30
- cmake .. && make
31
-
32
10
package-rpm :
33
11
runs-on : ubuntu-latest
12
+ strategy :
13
+ matrix :
14
+ build-type : [ debug, release ]
34
15
steps :
35
16
- name : Checkout
36
17
uses : actions/checkout@v2
66
47
67
48
package-deb :
68
49
runs-on : ubuntu-latest
50
+ strategy :
51
+ matrix :
52
+ build-type : [ debug, release ]
69
53
steps :
70
54
- name : Checkout
71
55
uses : actions/checkout@v2
Original file line number Diff line number Diff line change 7
7
- " v*"
8
8
9
9
jobs :
10
- build :
10
+ package-zip :
11
+ strategy :
12
+ matrix :
13
+ build-type : [ debug, release ]
11
14
runs-on : windows-latest
12
15
steps :
13
16
- name : Checkout
You can’t perform that action at this time.
0 commit comments