mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
ci: add cross-compile job with llvm-mingw (#3233)
This commit is contained in:

committed by
Alexander Medvednikov

parent
c9be519990
commit
84fbd5b3d0
10
Dockerfile.cross
Normal file
10
Dockerfile.cross
Normal file
@@ -0,0 +1,10 @@
|
||||
FROM mstorsjo/llvm-mingw
|
||||
|
||||
LABEL maintainer="Vitaly Takmazov <vitalyster@gmail.com>"
|
||||
COPY . .
|
||||
RUN make
|
||||
RUN ./v -os windows -o v.c v.v
|
||||
RUN x86_64-w64-mingw32-gcc v.c -std=c99 -w -municode -o v.exe
|
||||
RUN file v.exe
|
||||
|
||||
CMD [ "bash" ]
|
Reference in New Issue
Block a user