Skip to content

Commit 3734717

Browse files
committed
TO-DROP: reuse msys2-runtime build artifact from earlier run
Signed-off-by: Johannes Schindelin <[email protected]>
1 parent e4628a5 commit 3734717

File tree

2 files changed

+3
-33
lines changed

2 files changed

+3
-33
lines changed

.github/workflows/build.yaml

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -6,40 +6,7 @@ permissions:
66
contents: read
77

88
jobs:
9-
build:
10-
runs-on: windows-latest
11-
12-
steps:
13-
- name: Checkout code
14-
uses: actions/checkout@v4
15-
16-
- name: setup-msys2
17-
uses: msys2/setup-msys2@v2
18-
with:
19-
msystem: MSYS
20-
update: true
21-
install: msys2-devel base-devel autotools cocom diffutils gcc gettext-devel libiconv-devel make mingw-w64-cross-crt mingw-w64-cross-gcc mingw-w64-cross-zlib perl zlib-devel xmlto docbook-xsl
22-
23-
- name: Build
24-
shell: msys2 {0}
25-
run: |
26-
(cd winsup && ./autogen.sh)
27-
./configure --disable-dependency-tracking --with-msys2-runtime-commit="$GITHUB_SHA"
28-
make -j8
29-
30-
- name: Install
31-
shell: msys2 {0}
32-
run: |
33-
make DESTDIR="$(pwd)"/_dest install
34-
35-
- name: Upload
36-
uses: actions/upload-artifact@v4
37-
with:
38-
name: install
39-
path: _dest/
40-
419
ui-tests:
42-
needs: build
4310
uses: ./.github/workflows/ui-tests.yml
4411
with:
4512
msys2-runtime-artifact-name: install

.github/workflows/ui-tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ jobs:
2525
steps:
2626
- uses: actions/download-artifact@v4
2727
with:
28+
github-token: ${{ secrets.GITHUB_TOKEN }}
29+
repository: dscho/msys2-runtime
30+
run-id: 16089760079
2831
name: ${{ inputs.msys2-runtime-artifact-name }}
2932
path: ${{ runner.temp }}/artifacts
3033
- name: replace MSYS2 runtime

0 commit comments

Comments
 (0)