Commit dad52d60 authored by fjtrujy's avatar fjtrujy
Browse files

Add CI/CD for PS2

parent 51e2bce9
name: CI
on:
push:
pull_request:
repository_dispatch:
types: [run_build]
jobs:
build-ps2:
runs-on: ubuntu-latest
container: ps2dev/ps2dev:latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
apk add build-base git bash
- name: Compile project
run: |
make -f Makefile.libretro platform=ps2 clean all
- name: Get short SHA
id: slug
run: echo "::set-output name=sha8::$(echo ${GITHUB_SHA} | cut -c1-8)"
- name: Upload artifacts
if: ${{ success() }}
uses: actions/upload-artifact@v2
with:
name: 20408_libretro_ps2-${{ steps.slug.outputs.sha8 }}
path: 2048_libretro_ps2.a
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment