Skip to content

Commit c3f1764

Browse files
committed
fixup! CI: add a GHA for doing a basic build test
Since we're building in a minimal MSYS2 environment, `git` is not available (at least not MSYS2's) and therefore the `configure` log would show this: /d/a/msys2-runtime/msys2-runtime/winsup/configure: line 6858: git: command not found configure: WARNING: Could not determine msys2-runtime commit" Let's work around this by using the `--with-msys2-runtime-commit` route. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent e971008 commit c3f1764

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
# resulting in errors due to -Werror. Disable them for now.
2525
export CXXFLAGS="-Wno-error=stringop-truncation -Wno-error=array-bounds -Wno-error=overloaded-virtual -Wno-narrowing -Wno-use-after-free -Wno-error=maybe-uninitialized"
2626
(cd winsup && ./autogen.sh)
27-
./configure --disable-dependency-tracking
27+
./configure --disable-dependency-tracking --with-msys2-runtime-commit=$GITHUB_SHA
2828
make -j8
2929
3030
- name: Install

0 commit comments

Comments
 (0)