Skip to content

Commit

Permalink
ci: Tweak some more
Browse files Browse the repository at this point in the history
  • Loading branch information
oleavr committed Jan 25, 2024
1 parent fd188cd commit ce7fcf6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 7 additions & 1 deletion .github/actions/setup-windows-env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,13 @@ runs:
steps:
- name: Activate Frida toolchain and SDK
run: |
.\bootstrap.ps1 ${{ inputs.architecture }}
$arch = '${{ inputs.architecture }}'
.\bootstrap.ps1 $arch
$platforms = @{
x86 = 'Win32'
x86_64 = 'x64'
}
$platform = $platforms[$arch]
(Resolve-Path 'toolchain-windows\bin').Path >> $Env:GITHUB_PATH
echo PKG_CONFIG_PATH=$(Resolve-Path "sdk-windows\$platform-Release\lib\pkgconfig") >> $Env:GITHUB_ENV
shell: pwsh
Expand Down
6 changes: 0 additions & 6 deletions bootstrap.ps1
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
$arch = $args[0]

$platforms = @{
x86 = 'Win32'
x86_64 = 'x64'
}
$platform = $platforms[$arch]

New-Item -Path 'build' -ItemType Directory -Force

$deps_base_url = "https://build.frida.re/deps/20240123"
Expand Down

0 comments on commit ce7fcf6

Please sign in to comment.