-
Notifications
You must be signed in to change notification settings - Fork 7
59 lines (50 loc) · 1.76 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
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: 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 tools && ./build_sqkctl.sh
- name: Building sqkctl tools for windows
if: matrix.os == 'windows-latest'
run: |
cd tools
.\build_sqkctl.bat no_pause
- name: Building squick project for linux and macos
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macOS-latest'
run: |
cd tools && ./build_squick.sh
- name: Building squick project for windows
if: matrix.os == 'windows-latest'
run: |
cd tools
.\build_squick.bat no_pause
- name: Geneating deploy files for linux and macos
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macOS-latest'
run: |
cd tools && ./generate_deploy.sh
cd ../deploy
ls -al
- name: Geneating deploy files for windows
if: matrix.os == 'windows-latest'
run: |
cd tools
.\generate_deploy.bat no_pause
cd ..\deploy
dir