mirror of
https://github.com/R-YaTian/TinkeDSi.git
synced 2025-06-18 16:45:43 -04:00
38 lines
862 B
YAML
38 lines
862 B
YAML
name: Build TinkeDSi nightly with mono
|
|
|
|
on:
|
|
push:
|
|
branches: [ "main" ]
|
|
pull_request:
|
|
branches: [ "main" ]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
container: mono:latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@main
|
|
|
|
- name: Setup build toolchain
|
|
run: |
|
|
apt-get update
|
|
apt-get -y install build-essential
|
|
mkbundle --fetch-target mono-6.8.0-ubuntu-16.04-x64
|
|
|
|
- name: Set workspace permissions
|
|
run: chmod 777 -R "$GITHUB_WORKSPACE"
|
|
|
|
- name: Build TinkeDSi
|
|
run: |
|
|
cd $GITHUB_WORKSPACE
|
|
./compile.sh Release x64
|
|
cd $GITHUB_WORKSPACE/build
|
|
mkbundle --deps Tinke.exe -o TinkeDSi --cross mono-6.8.0-ubuntu-16.04-x64 --i18n all -z --static
|
|
shell: bash
|
|
|
|
- uses: actions/upload-artifact@main
|
|
with:
|
|
name: TinkeDSi-nightly-mono
|
|
path: build
|