Skip to content

Commit 5289182

Browse files
committed
TO-DROP: avoid rebuilding the msys2-runtime
Need to fix a couple of things, no need for the full build. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 725b84b commit 5289182

File tree

1 file changed

+31
-30
lines changed

1 file changed

+31
-30
lines changed

.github/workflows/build.yaml

Lines changed: 31 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -3,43 +3,43 @@ name: build
33
on: [push, pull_request]
44

55
jobs:
6-
build:
7-
runs-on: windows-latest
6+
# build:
7+
# runs-on: windows-latest
88

9-
steps:
10-
- name: Checkout code
11-
uses: actions/checkout@v4
9+
# steps:
10+
# - name: Checkout code
11+
# uses: actions/checkout@v4
1212

13-
- name: setup-msys2
14-
uses: msys2/setup-msys2@v2
15-
with:
16-
msystem: MSYS
17-
update: true
18-
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
13+
# - name: setup-msys2
14+
# uses: msys2/setup-msys2@v2
15+
# with:
16+
# msystem: MSYS
17+
# update: true
18+
# 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
1919

20-
- name: Build
21-
shell: msys2 {0}
22-
run: |
23-
# XXX: cygwin still uses gcc v11 so we get new warnings with v13,
24-
# resulting in errors due to -Werror. Disable them for now.
25-
export CXXFLAGS="-Wno-error=stringop-truncation -Wno-error=array-bounds -Wno-error=overloaded-virtual -Wno-narrowing -Wno-use-after-free -Wno-error=maybe-uninitialized"
26-
(cd winsup && ./autogen.sh)
27-
./configure --disable-dependency-tracking --with-msys2-runtime-commit=$GITHUB_SHA
28-
make -j8
20+
# - name: Build
21+
# shell: msys2 {0}
22+
# run: |
23+
# # XXX: cygwin still uses gcc v11 so we get new warnings with v13,
24+
# # resulting in errors due to -Werror. Disable them for now.
25+
# export CXXFLAGS="-Wno-error=stringop-truncation -Wno-error=array-bounds -Wno-error=overloaded-virtual -Wno-narrowing -Wno-use-after-free -Wno-error=maybe-uninitialized"
26+
# (cd winsup && ./autogen.sh)
27+
# ./configure --disable-dependency-tracking --with-msys2-runtime-commit=$GITHUB_SHA
28+
# make -j8
2929

30-
- name: Install
31-
shell: msys2 {0}
32-
run: |
33-
make DESTDIR="$(pwd)"/_dest install
30+
# - name: Install
31+
# shell: msys2 {0}
32+
# run: |
33+
# make DESTDIR="$(pwd)"/_dest install
3434

35-
- name: Upload
36-
uses: actions/upload-artifact@v4
37-
with:
38-
name: install
39-
path: _dest/
35+
# - name: Upload
36+
# uses: actions/upload-artifact@v4
37+
# with:
38+
# name: install
39+
# path: _dest/
4040
minimal-sdk-artifact:
4141
runs-on: windows-latest
42-
needs: [build]
42+
# needs: [build]
4343
outputs:
4444
git-artifacts-extract-location: ${{ steps.git-artifacts-extract-location.outputs.result }}
4545
steps:
@@ -80,6 +80,7 @@ jobs:
8080
- uses: actions/download-artifact@v4
8181
with:
8282
name: install
83+
run-id: 12948758598
8384
- name: overwrite MSYS2 runtime with the just-built msys2-runtime
8485
shell: bash
8586
run: |

0 commit comments

Comments
 (0)