GameBoy (Color) port of the GTA San Andreas arcade game Duality
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

build.yml 1.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. name: ROM
  2. # build for each push and pull request
  3. on: [push, pull_request]
  4. jobs:
  5. build:
  6. runs-on: ubuntu-latest
  7. permissions:
  8. contents: write
  9. steps:
  10. - name: Install dependencies
  11. working-directory: ${{github.workspace}}
  12. shell: bash
  13. run: |
  14. wget https://github.com/gbdk-2020/gbdk-2020/releases/download/4.4.0/gbdk-linux64.tar.gz
  15. tar -xzf gbdk-linux64.tar.gz
  16. - name: Checkout repo
  17. uses: actions/checkout@v4
  18. with:
  19. path: repo
  20. fetch-depth: 0
  21. - name: Get core count
  22. id: core_count
  23. run : cat /proc/cpuinfo | grep processor | wc -l
  24. - name: Build
  25. working-directory: ${{github.workspace}}/repo
  26. shell: bash
  27. run: make GBDK_HOME=${{github.workspace}}/gbdk GBDK_RELEASE=1 clean all -j $(nproc)
  28. - name: Upload a Build Artifact
  29. uses: actions/upload-artifact@v4.0.0
  30. with:
  31. name: duality.gb
  32. path: ${{github.workspace}}/repo/duality.gb
  33. if-no-files-found: error
  34. - name: Upload release files
  35. if: startsWith(github.ref, 'refs/tags/')
  36. uses: softprops/action-gh-release@v1
  37. with:
  38. files: ${{github.workspace}}/repo/duality.gb