add donut and tokumaru to repo (i'm unsure which one to use) #4434
  
    
      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 ROM | |
| on: [push] | |
| jobs: | |
| build_rom: | |
| runs-on: ubuntu-latest | |
| name: Compile ROM | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| target: | |
| - { name: Main MMC3 ROM, target: main } | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Cache cc65 | |
| uses: ./.github/actions/cache_cc65 | |
| - name: Cache llvm-mos-sdk | |
| uses: ./.github/actions/cache_llvm-mos-sdk | |
| - name: Set path | |
| run: | | |
| echo "${{ github.workspace }}/opt/cc65/bin:${{ github.workspace }}/opt/llvm-mos-sdk/bin" >> $GITHUB_PATH | |
| - name: Build the game | |
| run: make ${{matrix.target.target}} | |
| - name: Upload artifacts | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: famidash.${{ matrix.target.target }}-llvm.nes | |
| path: OUT/${{ matrix.target.target }}/famidash-llvm.nes | |