-
Notifications
You must be signed in to change notification settings - Fork 23
47 lines (39 loc) · 1.28 KB
/
build.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
name: Build
on:
push:
branches: [ externalProject ]
pull_request:
branches: [ externalProject ]
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
VS_VERSION: 16
SDK_VERSION: '10.0.18362.0'
jobs:
build:
strategy:
fail-fast: true
matrix:
arch: [win32, x64, arm]
platform: [-App, -Desktop]
exclude:
- arch: arm
platform: -Desktop
runs-on: windows-2019
steps:
- uses: actions/checkout@v4
- name: Install Strawberry Perl
# Perl included with git does not work when building openssl
run: choco install -y StrawberryPerl nasm
- name: Install CMake v3.28.3
# libbluray fails to build with CMake 3.29.0
run: choco install -y CMake --version 3.28.3 --force
- name: Build
# Build your program with the given configuration
run: .\DoRelease.ps1 -Platforms ${{ matrix.arch }} ${{ matrix.platform }} -VsVersion ${{ env.VS_VERSION }} -SdkVersion "${{ env.SDK_VERSION }}"
- name: Archive artifacts
uses: actions/upload-artifact@v4
with:
name: Kodi dependencies ${{ matrix.arch }}${{ matrix.platform }}
path: |
package/*.7z
package/hashes-*.txt