Skip to content

Commit

Permalink
update test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-hunhoff committed Jan 26, 2024
1 parent bf8a9a9 commit 2f0671c
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
matrix:
ghidra-release-url: ["https://github.com/NationalSecurityAgency/ghidra/releases/download/Ghidra_11.0_build/ghidra_11.0_PUBLIC_20231222.zip"]
os: [ubuntu-20.04, windows-2019, macos-11]
python-version: ["3.8", "3.12"]
python-version: ["3.8"]
steps:
- name: Checkout Ghidrathon
uses: actions/checkout@v4
Expand All @@ -38,13 +38,17 @@ jobs:
pip install jep==4.2.0
python -c "import importlib.util;import pathlib;print(pathlib.Path(importlib.util.find_spec('jep').origin).parent)"
- name: Prepare for downloads
run: mkdir ./.github/ghidra
run: mkdir ./tmp
- name: Download Ghidra Linux/macOS
if : ${{ matrix.os != 'windows-2019' }}
run: |
wget ${{ matrix.ghidra-release-url }} -O ./.github/ghidra/ghidra.zip
wget ${{ matrix.ghidra-release-url }} -O ./tmp/ghidra.zip
unzip ./tmp/ghidra.zip-d ./tmp/ghidra
mv ./tmp/ghidra/$(ls ghidra) ./tmp/ghidra/ghidra_PUBLIC
ls ./tmp/ghidra
- name: Download Ghidra Windows
if : ${{ matrix.os == 'windows-2019' }}
shell: pwsh
run: |
Invoke-WebRequest -URI "${{ matrix.ghidra-release-url }}" -OutFile "./.github/ghidra/ghidra.zip"
Invoke-WebRequest -URI "${{ matrix.ghidra-release-url }}" -OutFile "./.github/ghidra/ghidra.zip"

0 comments on commit 2f0671c

Please sign in to comment.