Major refactor: use BinSync library (libbs) in server backend #5
This file contains hidden or 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: CI Tests | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| ghidra-tests: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python 3.10 | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.10" | |
| - name: Install system dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y gdb | |
| - name: Install decomp2dbg | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -e . | |
| pip install pytest | |
| - name: Install deps for GDB's system Python | |
| run: | | |
| # GDB links against the system Python, not setup-python's Python. | |
| # Install decomp2dbg deps so GDB can import them at runtime. | |
| /usr/bin/python3 -m pip install --break-system-packages -e . | |
| - name: Set up Java 21 | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: "oracle" | |
| java-version: "21" | |
| - name: Install Ghidra | |
| uses: antoniovazquezblanco/setup-ghidra@v2.0.12 | |
| with: | |
| version: "12.0" | |
| auth_token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Run Ghidra integration tests | |
| run: pytest tests.py::TestGDBIntegrationGhidra -sv | |
| - name: Run Ghidra PIE integration tests | |
| run: pytest tests.py::TestGDBIntegrationGhidraPIE -sv |