update actions: actions/checkout, codeql-action/init and codeql-actio… #402
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: efiXplorer CI | |
on: | |
push: | |
pull_request: | |
jobs: | |
build_windows: | |
runs-on: windows-2019 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Dowload IDA SDK | |
shell: cmd | |
env: | |
IDA_SDK: ${{ secrets.DOWNLOAD_LINK_IDA_SDK }} | |
PASSWORD: ${{ secrets.ZIP_PASSWORD }} | |
run: | | |
cd .. | |
curl -J -L "%IDA_SDK%" -o idasdk84.zip | |
unzip -P "%PASSWORD%" idasdk84.zip | |
- name: Build efiXplorer | |
run: | | |
mkdir build | |
cd build | |
cmake .. -DIdaSdk_ROOT_DIR="../../idasdk84" -DHexRaysSdk_ROOT_DIR="../../hexrays_sdk" | |
cmake --build . --config Release | |
- uses: actions/upload-artifact@master | |
with: | |
name: efiXplorer.dll | |
path: build/efiXplorer/Release/efiXplorer.dll | |
- uses: actions/upload-artifact@master | |
with: | |
name: efiXplorer64.dll | |
path: build/efiXplorer/Release/efiXplorer64.dll | |
- uses: actions/upload-artifact@master | |
with: | |
name: efiXloader64.dll | |
path: build/efiXloader/Release/efiXloader64.dll | |
build_linux: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Dowload IDA SDK | |
shell: bash | |
env: | |
IDA_SDK: ${{ secrets.DOWNLOAD_LINK_IDA_SDK }} | |
PASSWORD: ${{ secrets.ZIP_PASSWORD }} | |
run: | | |
cd .. | |
curl -J -L "$IDA_SDK" -o idasdk84.zip | |
unzip -P $PASSWORD idasdk84.zip | |
- name: Build efiXplorer | |
run: | | |
mkdir build | |
cd build | |
cmake .. -DIdaSdk_ROOT_DIR="../../idasdk84" -DHexRaysSdk_ROOT_DIR="../../hexrays_sdk" | |
cmake --build . --config Release | |
- uses: actions/upload-artifact@master | |
with: | |
name: efiXplorer.so | |
path: build/efiXplorer/efiXplorer.so | |
- uses: actions/upload-artifact@master | |
with: | |
name: efiXplorer64.so | |
path: build/efiXplorer/efiXplorer64.so | |
- uses: actions/upload-artifact@master | |
with: | |
name: efiXloader64.so | |
path: build/efiXloader/efiXloader64.so | |
build_osx: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Dowload IDA SDK | |
shell: bash | |
env: | |
IDA_SDK: ${{ secrets.DOWNLOAD_LINK_IDA_SDK }} | |
PASSWORD: ${{ secrets.ZIP_PASSWORD }} | |
run: | | |
cd .. | |
curl -J -L "$IDA_SDK" -o idasdk84.zip | |
unzip -P $PASSWORD idasdk84.zip | |
- name: Build efiXplorer | |
run: | | |
mkdir build | |
cd build | |
cmake .. -DIdaSdk_ROOT_DIR="../../idasdk84" -DHexRaysSdk_ROOT_DIR="../../hexrays_sdk" | |
cmake --build . --config Release | |
- uses: actions/upload-artifact@master | |
with: | |
name: efiXplorer.dylib | |
path: build/efiXplorer/efiXplorer.dylib | |
- uses: actions/upload-artifact@master | |
with: | |
name: efiXplorer64.dylib | |
path: build/efiXplorer/efiXplorer64.dylib | |
- uses: actions/upload-artifact@master | |
with: | |
name: efiXloader64.dylib | |
path: build/efiXloader/efiXloader64.dylib |