Skip to content

Commit fa8af1a

Browse files
authored
Update windows-msys2.yml
1 parent 9b8c29b commit fa8af1a

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/windows-msys2.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,17 @@ jobs:
3939
- name: Configure GnuCOBOL
4040
shell: msys2 {0}
4141
run: |
42-
mkdir _build
43-
cd _build
44-
../configure --without-db --without-curses --without-xml2 --without-json
42+
mkdir _build && cd _build
43+
# build without any optional pacakges and without shared library for
44+
# speeding up the dist - this is a "prepare" only step for this workflow only
45+
../configure \
46+
--without-db --without-curses --without-xml2 --without-json --without-iconv \
47+
--disable-dependency-tracking --disable-shared
4548
4649
- name: Build GnuCOBOL Source Distribution
4750
shell: msys2 {0}
4851
run: |
49-
make -C _build --jobs=$(($(nproc)+1)) CPPFLAGS="-D_spawnv=spawnv"
52+
make -C _build --jobs=$(($(nproc)+1))
5053
make -C _build --jobs=$(($(nproc)+1)) dist
5154
5255
- name: Upload config-dist.log

0 commit comments

Comments
 (0)