Skip to content

Commit 8606f92

Browse files
committed
Add artifacts and compiler variable for windows
Signed-off-by: Anders F Björklund <[email protected]>
1 parent de9f354 commit 8606f92

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,12 @@ artifacts-linux:
133133
GOOS=linux GOARCH=arm64 CC=aarch64-linux-gnu-gcc make clean binaries
134134
$(TAR) -C _output/ -czvf _artifacts/lima-$(VERSION_TRIMMED)-Linux-aarch64.tar.gz ./
135135

136+
.PHONY: artifacts-windows
137+
artifacts-windows:
138+
mkdir -p _artifacts
139+
GOOS=windows GOARCH=amd64 CC=x86_64-w64-mingw32-gcc make clean binaries
140+
$(TAR) -C _output/ -czvf _artifacts/lima-$(VERSION_TRIMMED)-Windows-x86_64.tar.gz ./
141+
136142
.PHONY: artifacts-misc
137143
artifacts-misc:
138144
mkdir -p _artifacts

0 commit comments

Comments
 (0)