-
Notifications
You must be signed in to change notification settings - Fork 23
43 lines (36 loc) · 1.17 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
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: 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
path: |
package/*-${{ matrix.arch }}-${{ matrix.platform }}.7z
package/hashes-*-${{ matrix.arch }}-${{ matrix.platform }}.txt