mirror of
https://github.com/libretro/RACE.git
synced 2024-11-23 08:59:49 +00:00
Add PS2 CI/CD
This commit is contained in:
parent
369cfd9e88
commit
2cf0660966
33
.github/workflows/compilation.yml
vendored
Normal file
33
.github/workflows/compilation.yml
vendored
Normal file
@ -0,0 +1,33 @@
|
||||
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 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: race_libretro_ps2-${{ steps.slug.outputs.sha8 }}
|
||||
path: race_libretro_ps2.a
|
Loading…
Reference in New Issue
Block a user