Skip to content

Commit

Permalink
cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
ttytm committed Nov 11, 2024
1 parent 7a0182f commit 7b2f33e
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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

0 comments on commit 7b2f33e

Please sign in to comment.