forked from zyr17/MajsoulPaipuAnalyzer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor-linux.yml
53 lines (32 loc) · 841 Bytes
/
appveyor-linux.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
version: 1.0.{build}
image: Ubuntu1804
branches:
only:
- master
build_script:
- sh: >-
nvm install 8.1.0
nvm use 8.1.0
git submodule init
git submodule update
npm install
npm run-script package-linux
mkdir bin
mkdir bin/release
cd bin/release
cmake ../.. -DCMAKE_BUILD_TYPE=Release
make
cd ../..
cp -r dist/MajsoulPaipuCrawler-linux-x64 result
cp bin/release/PaipuAnalyzer result/
mkdir result/data
cp config.json result/
cp PAADData.json result/
cp doc/README.txt result/
cp doc/release-notes.txt result/
cp -r i18n/ result/
mv result MajsoulPaipuAnalyzer-linux-x64
7z a MajsoulPaipuAnalyzer-linux-x64.7z MajsoulPaipuAnalyzer-linux-x64
artifacts:
- path: MajsoulPaipuAnalyzer-linux-x64.7z
name: MajsoulPaipuAnalyzer-linux-x64