ci: fix `windows-prebuilt` job

pull/3761/head
Alexey 2020-02-17 22:08:09 +03:00 committed by GitHub
parent 28c83f3f43
commit 44e8770b73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 17 deletions

View File

@ -165,26 +165,18 @@ jobs:
runs-on: windows-2019 runs-on: windows-2019
steps: steps:
- name: Download V - name: Download V
shell: bash shell: cmd
run: | run: |
echo "Downloading v.exe..." echo Downloading V...
curl -L https://github.com/vbinaries/vbinaries/releases/download/latest/v_windows.zip -o v_windows.zip curl -L https://github.com/vlang/v/releases/latest/download/v_windows.zip -o v_windows.zip
echo "Unzipping..." echo Unzipping...
unzip v_windows.zip unzip v_windows.zip
echo "version:" v.exe --version
./v.exe --version echo Done
echo "Done" dir
ls
- name: Test V - name: Test V
shell: bash shell: cmd
run: | run: v.exe examples\hello_world.v && examples\hello_world.exe
echo "ls:"
ls
echo "ls examples/:"
ls examples
.\v.exe -o hi.exe examples/hello_world.v
.\hi.exe
#./v.exe -silent build-examples
ubuntu-musl: ubuntu-musl:
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04