name: TegraExplorer builder

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  build:
    runs-on: ubuntu-latest
    container: devkitpro/devkita64_devkitarm

    steps:
    - uses: actions/checkout@v1
        
    - name: Build TegraExplorer
      run: make -j$(nproc)
        
    - uses: actions/upload-artifact@master
      with:
        name: TegraExplorer
        path: output/TegraExplorer.bin 
