Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
libretro-handy
Commits
6582bf09
Commit
6582bf09
authored
Oct 19, 2020
by
fjtrujy
Browse files
Add github CI/CD and Gitlab CI/CD for core compilation
parent
491d8d37
Changes
2
Hide whitespace changes
Inline
Side-by-side
.github/workflows/compilation.yml
0 → 100644
View file @
6582bf09
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 -j$(nproc) clean && make platform=ps2 -j$(nproc)
-
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
:
handy_libretro_ps2-${{ steps.slug.outputs.sha8 }}
path
:
handy_libretro_ps2.a
.gitlab-ci.yml
View file @
6582bf09
...
...
@@ -11,6 +11,8 @@ include:
file
:
'
/vita-static.yml'
-
project
:
'
libretro-infrastructure/ci-templates'
file
:
'
/psp-static.yml'
-
project
:
'
libretro-infrastructure/ci-templates'
file
:
'
/ps2-static.yml'
-
project
:
'
libretro-infrastructure/ci-templates'
file
:
'
/linux-x64.yml'
-
project
:
'
libretro-infrastructure/ci-templates'
...
...
@@ -71,3 +73,8 @@ libretro-build-psp:
extends
:
-
.core-defs
-
.libretro-psp-static-retroarch-master
libretro-build-ps2
:
extends
:
-
.core-defs
-
.libretro-ps2-static-retroarch-master
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment