Skip to content

Commit

Permalink
Fixed CI Win access to env var (4)
Browse files Browse the repository at this point in the history
  • Loading branch information
sauwming committed Jan 23, 2025
1 parent f6c5fec commit 3608f99
Showing 1 changed file with 17 additions and 10 deletions.
27 changes: 17 additions & 10 deletions .github/workflows/ci-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ jobs:
$env:OPENSSL_DIR = Get-Content .\openssl_dir.txt
$env:PATH+=";$env:OPENSSL_DIR\bin"
cd pjlib/bin
Write-Host "CI_WIN_ARGS: $env:CI_WIN_ARGS"
$args = $env:CI_WIN_ARGS -split ' '
./pjlib-test-i386-Win32-vc14-Release.exe $args $env:CI_MODE
shell: powershell
Expand All @@ -94,14 +93,16 @@ jobs:
$env:OPENSSL_DIR = Get-Content .\openssl_dir.txt
$env:PATH+=";$env:OPENSSL_DIR\bin"
cd pjlib-util/bin
./pjlib-util-test-i386-Win32-vc14-Release.exe $env:CI_WIN_ARGS
$args = $env:CI_WIN_ARGS -split ' '
./pjlib-util-test-i386-Win32-vc14-Release.exe $args
shell: powershell
- name: pjmedia-test
run: |
$env:OPENSSL_DIR = Get-Content .\openssl_dir.txt
$env:PATH+=";$env:OPENSSL_DIR\bin"
cd pjmedia/bin
./pjmedia-test-i386-Win32-vc14-Release.exe $env:CI_WIN_ARGS
$args = $env:CI_WIN_ARGS -split ' '
./pjmedia-test-i386-Win32-vc14-Release.exe $args
shell: powershell

openssl-2:
Expand Down Expand Up @@ -166,7 +167,7 @@ jobs:
$env:OPENSSL_DIR = Get-Content .\openssl_dir.txt
$env:PATH+=";$env:OPENSSL_DIR\bin"
cd pjsip/bin
$args = $env:CI_WIN_ARGS -replace '^"|"$', ''
$args = $env:CI_WIN_ARGS -split ' '
./pjsip-test-i386-Win32-vc14-Release.exe $args
shell: powershell
- name: python pjsua tests
Expand Down Expand Up @@ -220,7 +221,8 @@ jobs:
$env:OPENSSL_DIR = Get-Content .\openssl_dir.txt
$env:PATH+=";$env:OPENSSL_DIR\bin"
cd pjnath/bin
./pjnath-test-i386-Win32-vc14-Release.exe $env:CI_WIN_ARGS
$args = $env:CI_WIN_ARGS -split ' '
./pjnath-test-i386-Win32-vc14-Release.exe $args
shell: powershell

gnu-tls:
Expand Down Expand Up @@ -339,28 +341,32 @@ jobs:
$env:SDL_DIR = Get-Content .\sdl_dir.txt
$env:PATH+=";$env:SDL_DIR\lib\x86;"
cd pjlib/bin
./pjlib-test-i386-Win32-vc14-Release.exe $env:CI_WIN_ARGS $env:CI_MODE
$args = $env:CI_WIN_ARGS -split ' '
./pjlib-test-i386-Win32-vc14-Release.exe $args $env:CI_MODE
shell: powershell
- name: pjlib-util-test
run: |
$env:SDL_DIR = Get-Content .\sdl_dir.txt
$env:PATH+=";$env:SDL_DIR\lib\x86;"
cd pjlib-util/bin
./pjlib-util-test-i386-Win32-vc14-Release.exe $env:CI_WIN_ARGS
$args = $env:CI_WIN_ARGS -split ' '
./pjlib-util-test-i386-Win32-vc14-Release.exe $args
shell: powershell
- name: pjmedia-test
run: |
$env:SDL_DIR = Get-Content .\sdl_dir.txt
$env:PATH+=";$env:SDL_DIR\lib\x86;"
cd pjmedia/bin
./pjmedia-test-i386-Win32-vc14-Release.exe $env:CI_WIN_ARGS
$args = $env:CI_WIN_ARGS -split ' '
./pjmedia-test-i386-Win32-vc14-Release.exe $args
shell: powershell
- name: pjnath-test
run: |
$env:SDL_DIR = Get-Content .\sdl_dir.txt
$env:PATH+=";$env:SDL_DIR\lib\x86;"
cd pjnath/bin
./pjnath-test-i386-Win32-vc14-Release.exe $env:CI_WIN_ARGS $env:CI_MODE
$args = $env:CI_WIN_ARGS -split ' '
./pjnath-test-i386-Win32-vc14-Release.exe $args $env:CI_MODE
shell: powershell

vid-libvpx-schannel-2:
Expand Down Expand Up @@ -523,7 +529,8 @@ jobs:
$env:SDL_DIR = Get-Content .\sdl_dir.txt
$env:PATH+=";$env:SDL_DIR\lib\x86;"
cd pjsip/bin
./pjsip-test-i386-Win32-vc14-Release.exe $env:CI_WIN_ARGS
$args = $env:CI_WIN_ARGS -split ' '
./pjsip-test-i386-Win32-vc14-Release.exe $args
shell: powershell

build-win-vid-ffmpeg:
Expand Down

0 comments on commit 3608f99

Please sign in to comment.