You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

35 lines
990 B

name: RetroFW Release Build
on:
release:
types: [created]
jobs:
retrofw:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Create Build Environment
run: >
sudo apt update &&
sudo apt install -y curl git smpq &&
curl -L https://github.com/retrofw/buildroot/releases/download/2018.02.11/mipsel-linux-uclibc_x64.tar.gz -o retrofw-toolchain.tar.xz &&
sudo mkdir -p /opt/mipsel-linux-uclibc && sudo chown -R "${USER}:" /opt/mipsel-linux-uclibc &&
tar -C /opt -xvf retrofw-toolchain.tar.xz
- name: Build
working-directory: ${{github.workspace}}
shell: bash
run: Packaging/OpenDingux/build.sh retrofw
env:
- TOOLCHAIN: /opt/mipsel-linux-uclibc
- name: Upload-Package
uses: actions/upload-artifact@v2
with:
name: devilutionx-retrofw.opk.zip
path: build-retrofw/devilutionx-retrofw.opk