Skip to content

Commit 5272638

Browse files
committed
The preinstalled gcc already looks like mingw64
1 parent 067de2e commit 5272638

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

.github/workflows/ci-lazypg.yml

+3-11
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,6 @@ jobs:
4040

4141
steps:
4242

43-
- name: Run "type gcc" and exit abnormally
44-
shell: bash
45-
run: |
46-
type gcc
47-
exit 1
48-
4943
- name: Check for JDK preinstalled
5044
id: jdkcheck
5145
shell: bash
@@ -118,13 +112,11 @@ jobs:
118112
echo >>"$GITHUB_ENV" PGCONFIG="$pfx/bin/pg_config"
119113
fi
120114
121-
- name: Set PGCONFIG in environment, getting gcc and PostgreSQL (mingw)
115+
- name: Set PGCONFIG in environment, getting PostgreSQL (mingw)
122116
if: ${{ 'mingw' == matrix.oscc.cc }}
123117
shell: C:\shells\msys2bash.cmd {0}
124118
run: |
125-
pacman -S --noconfirm \
126-
mingw-w64-x86_64-gcc \
127-
mingw-w64-x86_64-postgresql
119+
pacman -S --noconfirm mingw-w64-x86_64-postgresql
128120
echo >>"$GITHUB_ENV" PGCONFIG='c:\msys64\mingw64\bin\pg_config'
129121
130122
- name: Report Java, Maven, and PostgreSQL versions
@@ -216,7 +208,7 @@ jobs:
216208
working-directory: pljava
217209
shell: C:\shells\msys2bash.cmd {0}
218210
run: |
219-
PATH='/c/msys64/mingw64/bin:'"$PATH"
211+
PATH='/c/mingw64/bin:'"$PATH"
220212
"$M2"/mvn clean install --batch-mode \
221213
-Dpgsql.pgconfig="$PGCONFIG" \
222214
-Psaxon-examples -Ppgjdbc \

0 commit comments

Comments
 (0)