-
-
Notifications
You must be signed in to change notification settings - Fork 76
62 lines (52 loc) · 1.36 KB
/
continuous-build-windows.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
name: "Continuous build (Windows)"
on:
push:
branches:
- '*'
tags-ignore:
- 'continuous*'
jobs:
build:
strategy:
matrix:
include:
- os: windows-latest
arch: X86_64
system: system-x64
mingw: 64
- os: windows-latest
arch: X86
system: system-i686
mingw: 32
- os: windows-latest
arch: ARM64
system: system-arm64
mingw: 64
runs-on: ${{ matrix.os }}
defaults:
run:
shell: cmd
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Checkout smooth
uses: actions/checkout@v4
with:
repository: enzo1982/smooth
path: smooth
- name: Checkout BoCA
uses: actions/checkout@v4
with:
repository: enzo1982/BoCA
path: boca
- name: Build
env:
RELEASE_TOKEN: ${{ secrets.RELEASE_TOKEN }}
run: |
set CDK_INSTALL_PATH=%CD%\boca
set PATH=%CDK_INSTALL_PATH%\${{ matrix.system }}\usr\bin;%PATH%
mkdir %CDK_INSTALL_PATH%\${{ matrix.system }}\tmp 2> nul
set MSYSTEM=MINGW${{ matrix.mingw }}
set BUILD_WIN32=True
set BUILD_${{ matrix.arch }}=True
bash .github/workflows/tools/build-windows