Skip to content

Commit

Permalink
Download winflexbison from GH
Browse files Browse the repository at this point in the history
  • Loading branch information
roblabla authored and github-actions[bot] committed Nov 1, 2023
1 parent 27b4ad8 commit 93f4afa
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,13 @@ jobs:
java-version: 17
- name: Install bison
if: ${{ matrix.os == 'windows-latest' }}
shell: pwsh
run: |
choco install winflexbison
ren "C:\ProgramData\chocolatey\bin\win_bison.exe" "bison.exe"
ren "C:\ProgramData\chocolatey\bin\win_flex.exe" "flex.exe"
Invoke-WebRequest -URI "https://github.com/lexxmark/winflexbison/releases/download/v2.4.12/win_flex_bison-2.4.12.zip" -OutFile "win_flex_bison-2.4.12.zip"
Expand-Archive -Path "win_flex_bison-2.4.12.zip" -DestinationPath "winflexbison"
Rename-Item -Path "$pwd\winflexbison\win_bison.exe" -NewName "bison.exe"
Rename-Item -Path "$pwd\winflexbison\win_flex.exe" -NewName "flex.exe"
"$pwd\winflexbison" >> $env:GITHUB_PATH
- name: Checkout Ghidra-CI Repo
uses: actions/checkout@v3
with:
Expand Down

0 comments on commit 93f4afa

Please sign in to comment.