diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index f31dbf1..8ed9e4e 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -24,7 +24,7 @@ jobs: - name: Setup V module run: | mv vibe ~/.vmodules/vibe - # v ~/.vmodules/vibe/curl/build.vsh --silent + v ~/.vmodules/vibe/curl/build.vsh --silent - name: Save cache uses: actions/cache/save@v4 with: @@ -55,14 +55,21 @@ jobs: # [System.Environment]::SetEnvironmentVariable("PATH", $env:PATH + ";C:%HOMEPATH%\.vmodules\vibe\curl\libcurl\bin", [System.EnvironmentVariableTarget]::Machine) # [System.Environment]::GetEnvironmentVariable("PATH", [System.EnvironmentVariableTarget]::Machine) - name: Run tests + shell: cmd # echo $HOME # [System.Environment]::GetEnvironmentVariable("PATH", [System.EnvironmentVariableTarget]::Machine) # v -stats test vibe # set PATH=%PATH%;C:%HOMEPATH%\.vmodules\vibe\curl\libcurl\bin # echo %PATH% run: | + v --version + C:%HOMEPATH%\.vmodules\vibe\curl\libcurl\bin\curl --version + cd ~/.vmodules # $env:PATH += ";C:%HOMEPATH%\.vmodules\vibe\curl\libcurl\bin" # [System.Environment]::SetEnvironmentVariable("PATH", $env:PATH + ";C:%HOMEPATH%\.vmodules\vibe\curl\libcurl\bin", [System.EnvironmentVariableTarget]::Machine) # [System.Environment]::GetEnvironmentVariable("PATH", [System.EnvironmentVariableTarget]::Machine) - cd ~/.vmodules - v -stats test vibe/src/_tests_get_test.v + set PATH=%PATH%;C:%HOMEPATH%\.vmodules\vibe\curl\libcurl\bin + echo %PATH% + # gcc -o get get.c "libcurl/bin/libcurl-x64.dll" -Ilibcurl/include && get.exe + # v -stats test vibe/src/_tests_get_test.v + v run vibe\src\_tests_get_test.v