From 278be77c111afa28e264d56835e761d7749c76c8 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Mon, 22 Nov 2021 16:59:11 +0200 Subject: [PATCH] ci: use wine64 explicitly in ci_cross.yml --- .github/workflows/ci_cross.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci_cross.yml b/.github/workflows/ci_cross.yml index f23a3efd51..8f52570abc 100644 --- a/.github/workflows/ci_cross.yml +++ b/.github/workflows/ci_cross.yml @@ -52,10 +52,11 @@ jobs: fetch-depth: 10 - name: Install dependencies run: | - sudo dpkg --add-architecture i386 + ## sudo dpkg --add-architecture i386 sudo apt update 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 run: winetricks nocrashdialog @@ -74,13 +75,13 @@ jobs: ./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 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 run: | ./v -os windows examples/hello_world.v 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 run: |