-
Notifications
You must be signed in to change notification settings - Fork 30
35 lines (29 loc) · 944 Bytes
/
ORBIS.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: CI PS4
on:
push:
pull_request:
repository_dispatch:
types: [run_build]
jobs:
build-platform:
runs-on: ubuntu-latest
container: orbisdev/orbisdev:latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: |
apk add ncurses-dev make bash python2 libstdc++
- name: Get Information Variables
id: core
run: |
echo "platform=$(echo orbis)" >> $GITHUB_OUTPUT
echo "sha8=$(echo ${GITHUB_SHA} | cut -c1-8)" >> $GITHUB_OUTPUT
- name: Compile project
run: |
make -f Makefile.libretro platform=${{ steps.core.outputs.platform }} -j$(getconf _NPROCESSORS_ONLN)
- name: Upload artifacts
if: ${{ success() }}
uses: actions/upload-artifact@v3
with:
name: 20408_libretro_${{ steps.core.outputs.platform }}-${{ steps.core.outputs.sha8 }}
path: 2048_libretro_${{ steps.core.outputs.platform }}.a