generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 17
37 lines (36 loc) · 1.21 KB
/
matrix.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
name: 'test all artifact flavors'
on: # since this is expensive, require a manual trigger
workflow_dispatch:
jobs:
test:
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
flavor: ['minimal', 'makepkg-git', 'build-installers', 'full']
architecture: ['i686', 'x86_64']
exclude:
- flavor: minimal
architecture: i686
- flavor: makepkg-git
architecture: i686
steps:
- uses: actions/checkout@v4
- name: run in-place
uses: ./
with:
flavor: ${{ matrix.flavor }}
architecture: ${{ matrix.architecture }}
- name: build installer
if: matrix.flavor == 'build-installers'
shell: bash
run: |
# clone build-extra
git clone --depth 1 --single-branch -b main https://github.com/git-for-windows/build-extra &&
# build installer
./build-extra/installer/release.sh --output=$PWD/installer-${{ matrix.architecture }} 0-test
- uses: actions/upload-artifact@v4
if: matrix.flavor == 'build-installers'
with:
name: installer-${{ matrix.architecture }}
path: installer-${{ matrix.architecture }}