mirror of
https://github.com/linux-msm/qdl.git
synced 2026-02-25 13:12:25 -08:00
github: Get --version working for Windows build
Make sure we can get the version into the binary for '--version' and does not show up as "unknown-version" by installing git. Additionally make sure to configure autocrlf to avoid -dirty suffix. Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
This commit is contained in:
committed by
Bjorn Andersson
parent
752685df9b
commit
09a4f034b0
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@@ -123,6 +123,7 @@ jobs:
|
||||
msystem: MINGW64
|
||||
install: >
|
||||
base-devel
|
||||
git
|
||||
mingw-w64-x86_64-gcc
|
||||
mingw-w64-x86_64-make
|
||||
mingw-w64-x86_64-pkg-config
|
||||
@@ -130,7 +131,9 @@ jobs:
|
||||
mingw-w64-x86_64-libusb
|
||||
|
||||
- name: Build
|
||||
run: make
|
||||
run: |
|
||||
git config --global core.autocrlf true
|
||||
make
|
||||
shell: msys2 {0}
|
||||
|
||||
- name: Run tests
|
||||
|
||||
Reference in New Issue
Block a user