mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
ci: use wine64 explicitly in ci_cross.yml
This commit is contained in:
parent
f37eb6a932
commit
278be77c11
9
.github/workflows/ci_cross.yml
vendored
9
.github/workflows/ci_cross.yml
vendored
@ -52,10 +52,11 @@ jobs:
|
|||||||
fetch-depth: 10
|
fetch-depth: 10
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo dpkg --add-architecture i386
|
## sudo dpkg --add-architecture i386
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt-get install --quiet -y libssl-dev sqlite3 libsqlite3-dev
|
sudo apt-get install --quiet -y libssl-dev sqlite3 libsqlite3-dev
|
||||||
sudo apt-get install --quiet -y mingw-w64 wine-stable winetricks wine32
|
sudo apt-get install --quiet -y mingw-w64 wine-stable winetricks
|
||||||
|
## sudo apt-get install --quiet -y wine32
|
||||||
- name: Turn off the wine crash dialog
|
- name: Turn off the wine crash dialog
|
||||||
run: winetricks nocrashdialog
|
run: winetricks nocrashdialog
|
||||||
|
|
||||||
@ -74,13 +75,13 @@ jobs:
|
|||||||
./v -os windows -o /tmp/v_win.c cmd/v
|
./v -os windows -o /tmp/v_win.c cmd/v
|
||||||
x86_64-w64-mingw32-gcc -I ./thirdparty/stdatomic/win /tmp/v_win.c -std=c99 -w -municode -o v_from_vc.exe
|
x86_64-w64-mingw32-gcc -I ./thirdparty/stdatomic/win /tmp/v_win.c -std=c99 -w -municode -o v_from_vc.exe
|
||||||
ls -lart v_from_vc.exe
|
ls -lart v_from_vc.exe
|
||||||
wine v_from_vc.exe version
|
wine64 ./v_from_vc.exe version
|
||||||
|
|
||||||
- name: hello_world.v can be cross compiled to hello_world.exe
|
- name: hello_world.v can be cross compiled to hello_world.exe
|
||||||
run: |
|
run: |
|
||||||
./v -os windows examples/hello_world.v
|
./v -os windows examples/hello_world.v
|
||||||
ls -lart examples/hello_world.exe
|
ls -lart examples/hello_world.exe
|
||||||
wine examples/hello_world.exe
|
wine64 examples/hello_world.exe
|
||||||
|
|
||||||
- name: 2048.v can be cross compiled to 2048.exe
|
- name: 2048.v can be cross compiled to 2048.exe
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
Reference in New Issue
Block a user