-
Notifications
You must be signed in to change notification settings - Fork 7
64 lines (54 loc) · 1.95 KB
/
ci.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
54
55
56
57
58
59
60
61
62
63
64
name: Github-CI
on: [push, pull_request]
jobs:
build_third_party:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
steps:
- uses: actions/checkout@v3
- name: Updating submodule
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macOS-latest' || matrix.os == 'windows-latest'
run: |
git submodule update --init
- name: Building squick third party library for linux and macos
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macOS-latest'
run: |
cd tools && ./build_third_party.sh
- name: Building squick third party library for windows
if: matrix.os == 'windows-latest'
run: |
cd tools
.\clone_thirdparty_build.bat no_pause
- name: Building sqkctl tools for linux and macos
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macOS-latest'
run: |
cd res/ToolsSrc/sqkctl && ./build.sh
- name: Building sqkctl tools for windows
if: matrix.os == 'windows-latest'
run: |
cd res\ToolsSrc\sqkctl
.\build.bat no_pause
- name: Building squick project for linux and macos
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macOS-latest'
run: |
cd tools && ./build.sh
- name: Building squick project for windows
if: matrix.os == 'windows-latest'
run: |
cd tools
.\build.bat no_pause
- name: Geneating deploy files for linux and macos
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macOS-latest'
run: |
cd tools && ./gen_deploy.sh
cd ../deploy
ls -al
- name: Geneating deploy files for windows
if: matrix.os == 'windows-latest'
run: |
cd tools
.\gen_deploy.bat no_pause
cd ..\deploy
dir