Update Update extlibs.yml

This commit is contained in:
tobid7 2021-07-30 15:09:52 +02:00 committed by GitHub
parent 16510f5261
commit 8dabfd58ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,54 +1,50 @@
# This is a basic workflow to help you get started with Actions name: Extlibs
name: CI
# Controls when the workflow will run
on: on:
# Triggers the workflow on push or pull request events but only for the main branch
push: push:
branches: [ !main ] branches: [ '!*' ]
pull_request: pull_request:
branches: [ !main ] branches: [ '!*' ]
# Allows you to run this workflow manually from the Actions tab # Allows you to run this workflow manually from the Actions tab
workflow_dispatch: workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs: jobs:
# This workflow contains a single job called "build"
build: build:
# The type of runner that the job will run on
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: devkitpro/devkitarm
name: Build with Docker using devkitARM # Steps represent a sequence of tasks that will be executed as part of the job
outputs:
commit_tag: ${{ steps.build.outputs.commit_tag }}
commit_hash: ${{ steps.build.outputs.commit_hash }}
author_name: ${{ steps.build.outputs.author_name }}
committer_name: ${{ steps.build.outputs.committer_name }}
commit_subject: ${{ steps.build.outputs.commit_subject }}
commit_message: ${{ steps.build.outputs.commit_message }}
steps: steps:
- name: Checkout repo # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
uses: actions/checkout@v1 - uses: actions/checkout@v2
with: - name: update
submodules: recursive
- name: Install tools
run: | run: |
sudo apt-get update #gl
sudo apt-get install p7zip-full -y cd ..
curl -L https://github.com/Steveice10/bannertool/releases/download/1.2.0/bannertool.zip -o bannertool.zip git clone https://github.com/lua/lua.git
sudo 7z e bannertool.zip linux-x86_64/bannertool cd RenderD7
sudo chmod +x bannertool mkdir -p extlibs/
mv bannertool /usr/local/bin mkdir -p extlibs/lua/
rm bannertool.zip cp -r ../lua/*.c extlibs/lua/
curl -L https://github.com/3DSGuy/Project_CTR/releases/download/makerom-v0.17/makerom-v0.17-ubuntu_x86_64.zip -o makerom-v0.17-ubuntu_x86_64.zip cp -r ../lua/*.h extlibs/lua/
sudo 7z e makerom-v0.17-ubuntu_x86_64.zip cp -r ../lua/*.md extlibs/lua/
sudo chmod +x makerom #RenderD7
mv makerom /usr/local/bin cd ..
rm makerom-v0.17-ubuntu_x86_64.zip git clone https://github.com/NPI-D7/RenderD7.git
- name: Build cd lp-next-ctr
id: build mkdir -p extlibs/
run: | rm -r extlibs/RenderD7
cd extlibs mkdir -p extlibs/RenderD7/
git clone https://github.com/devkitpro/citro3d.git cp -r ../RenderD7/*.c* extlibs/RenderD7/
cp -r ../RenderD7/*.h* extlibs/RenderD7/
cp -r ../RenderD7/*.md extlibs/RenderD7/
#config
git config --global user.email "tobid7@outlook.de"
git config --global user.name "Tobi-D7"
#commit
git stage * git stage *
git commit -m "update" git commit -m "update extlibs"
git push origin main git push origin main