Skip to content

Commit 710cea4

Browse files
authored
Merge pull request #384 from dscho/use-partial-clone
Avoid using Azure Pipeline Artifacts
2 parents 0b1f2cf + 4292ba9 commit 710cea4

File tree

8 files changed

+3295
-9
lines changed

8 files changed

+3295
-9
lines changed

.github/workflows/matrix.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: 'test all artifact flavors'
2+
on: # since this is expensive, require a manual trigger
3+
workflow_dispatch:
4+
5+
jobs:
6+
test:
7+
runs-on: windows-latest
8+
strategy:
9+
fail-fast: false
10+
matrix:
11+
flavor: ['minimal', 'makepkg-git', 'build-installers', 'full']
12+
architecture: ['i686', 'x86_64']
13+
exclude:
14+
- flavor: minimal
15+
architecture: i686
16+
- flavor: makepkg-git
17+
architecture: i686
18+
steps:
19+
- uses: actions/checkout@v3
20+
- name: run in-place
21+
uses: ./
22+
with:
23+
flavor: ${{ matrix.flavor }}
24+
architecture: ${{ matrix.architecture }}
25+
- name: build installer
26+
if: matrix.flavor == 'build-installers'
27+
shell: bash
28+
run: |
29+
# clone build-extra
30+
git clone --depth 1 --single-branch -b main https://github.com/git-for-windows/build-extra &&
31+
# build installer
32+
./build-extra/installer/release.sh --output=$PWD/installer-${{ matrix.architecture }} 0-test
33+
- uses: actions/upload-artifact@v2
34+
if: matrix.flavor == 'build-installers'
35+
with:
36+
name: installer-${{ matrix.architecture }}
37+
path: installer-${{ matrix.architecture }}

.vscode/settings.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,13 @@
1313
"artifactsize",
1414
"autodrain",
1515
"Backoff",
16+
"bitness",
1617
"mqueue",
1718
"MSYSTEM",
1819
"Pacman",
1920
"unzipper",
2021
"vercel",
22+
"WINDIR",
2123
"winsymlinks"
2224
],
2325
"git.ignoreLimitWarning": true

0 commit comments

Comments
 (0)