|
|
|
|
@ -16,19 +16,20 @@ jobs:
|
|
|
|
|
- name: Create Build Environment |
|
|
|
|
run: > |
|
|
|
|
sudo apt update && |
|
|
|
|
sudo apt install -y curl git smpq && |
|
|
|
|
sudo apt install -y curl cmake git smpq squashfs-tools && |
|
|
|
|
curl -L http://od.abstraction.se/opendingux/toolchain/opendingux-gcw0-toolchain.2021-03-10.tar.xz -o gcw0-toolchain.tar.xz && |
|
|
|
|
sudo mkdir -p /opt/gcw0-toolchain && sudo chown -R "${USER}:" /opt/gcw0-toolchain && |
|
|
|
|
tar -C /opt -xvf gcw0-toolchain.tar.xz |
|
|
|
|
tar -C /opt -xf gcw0-toolchain.tar.xz |
|
|
|
|
|
|
|
|
|
- name: Build |
|
|
|
|
working-directory: ${{github.workspace}} |
|
|
|
|
shell: bash |
|
|
|
|
run: Packaging/OpenDingux/build.sh rg350 |
|
|
|
|
env: |
|
|
|
|
- TOOLCHAIN: /opt/gcw0-toolchain |
|
|
|
|
TOOLCHAIN: /opt/gcw0-toolchain |
|
|
|
|
|
|
|
|
|
- name: Upload-Package |
|
|
|
|
if: ${{ !env.ACT }} |
|
|
|
|
uses: actions/upload-artifact@v2 |
|
|
|
|
with: |
|
|
|
|
name: devilutionx-rg350.opk.zip |
|
|
|
|
@ -45,19 +46,20 @@ jobs:
|
|
|
|
|
- name: Create Build Environment |
|
|
|
|
run: > |
|
|
|
|
sudo apt update && |
|
|
|
|
sudo apt install -y curl git smpq && |
|
|
|
|
curl -L http://od.abstraction.se/opendingux/toolchain/opendingux-lepus-toolchain.2021-03-10.tar.xz -o lepus-toolchain.tar.xz && |
|
|
|
|
sudo apt install -y curl cmake git smpq squashfs-tools && |
|
|
|
|
curl -L http://od.abstraction.se/opendingux/toolchain/opendingux-lepus-toolchain.2021-03-11.tar.xz -o lepus-toolchain.tar.xz && |
|
|
|
|
sudo mkdir -p /opt/lepus-toolchain && sudo chown -R "${USER}:" /opt/lepus-toolchain && |
|
|
|
|
tar -C /opt -xvf lepus-toolchain.tar.xz |
|
|
|
|
tar -C /opt -xf lepus-toolchain.tar.xz |
|
|
|
|
|
|
|
|
|
- name: Build |
|
|
|
|
working-directory: ${{github.workspace}} |
|
|
|
|
shell: bash |
|
|
|
|
run: Packaging/OpenDingux/build.sh lepus |
|
|
|
|
env: |
|
|
|
|
- TOOLCHAIN: /opt/lepus-toolchain |
|
|
|
|
TOOLCHAIN: /opt/lepus-toolchain |
|
|
|
|
|
|
|
|
|
- name: Upload-Package |
|
|
|
|
if: ${{ !env.ACT }} |
|
|
|
|
uses: actions/upload-artifact@v2 |
|
|
|
|
with: |
|
|
|
|
name: devilutionx-lepus.opk.zip |
|
|
|
|
|