2022-09-09 07:06:02 +00:00
|
|
|
name: Build and Publish Release
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
|
|
Compile-3ds:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
outputs:
|
|
|
|
3ds_link: ${{ steps.zip.outputs.zip }}
|
|
|
|
container:
|
2022-11-01 06:05:58 +00:00
|
|
|
image: devkitpro/devkitarm
|
2022-09-09 07:06:02 +00:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Install Packages and update picaGL
|
|
|
|
run: |
|
|
|
|
git clone https://github.com/masterfeizz/picaGL.git
|
|
|
|
cd picaGL
|
|
|
|
mkdir clean
|
2022-11-01 06:13:08 +00:00
|
|
|
make -k install
|
2022-09-09 07:06:02 +00:00
|
|
|
- name: Build
|
|
|
|
working-directory: ./
|
|
|
|
run: |
|
|
|
|
make -f Makefile
|
|
|
|
- name: Zip and Upload
|
|
|
|
id: zip
|
|
|
|
working-directory: ./
|
|
|
|
run: |
|
2022-11-01 05:52:53 +00:00
|
|
|
zip -r ctr-nzp-3ds.zip nzportable.3dsx nzportable.smdh
|
2022-09-09 07:06:02 +00:00
|
|
|
curl --upload-file ./ctr-nzp-3ds.zip https://transfer.sh/ctr-nzp-3ds.zip > output-log.log
|
|
|
|
echo "::set-output name=zip::$(cat output-log.log)"
|
|
|
|
|