fixed cppcheck #13
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: Build NetPass 3DS on any branch | |
| on: | |
| push: | |
| branches: [ '**' ] # Trigger on push to all branches | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository with submodules | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: List submodules | |
| run: | | |
| git submodule status | |
| ls -la | |
| - name: Create output directory | |
| run: mkdir -p output | |
| - name: Show user info | |
| run: id | |
| - name: Show permissions in workspace | |
| run: ls -la ${{ github.workspace }} | |
| - name: Run custom builder image | |
| run: | | |
| docker run --rm \ | |
| -u $(id -u):$(id -g) \ | |
| -v ${{ github.workspace }}:/build/source \ | |
| -v ${{ github.workspace }}/output:/output \ | |
| ghcr.io/introkun/netpass-builder:latest DEBUG=0 | |
| - name: Upload build artifacts (.3dsx, .cia) | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: netpass-build-artifacts | |
| path: output/ |