Skip to content

Commit 377b386

Browse files
Add GitHub Workflow for CI.
1 parent 66a0121 commit 377b386

File tree

2 files changed

+49
-7
lines changed

2 files changed

+49
-7
lines changed

.github/workflows/compilation.yml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
pull_request:
6+
repository_dispatch:
7+
types: [run_build]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
container: vitasdk/vitasdk-softfp:latest
13+
steps:
14+
- uses: actions/checkout@v2
15+
16+
- name: Install dependencies
17+
run: |
18+
git clone https://github.com/Rinnegatamante/vitaGL.git
19+
make -C vitaGL SOFTFP_ABI=1 NO_DEBUG=1 SAMPLER_UNIFORMS=1 -j$(nproc) install
20+
- name: Compile project
21+
run: |
22+
mkdir build
23+
cd build
24+
cmake ..
25+
make -j$(nproc)
26+
- name: Get current date
27+
id: date
28+
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
29+
- name: Get changelog
30+
id: changelog
31+
run: echo "::set-output name=changelog::$(git log -10 --pretty=format:\"%s\")"
32+
- name: Update release body
33+
id: update_release
34+
uses: Rinnegatamante/update_release@master
35+
env:
36+
GITHUB_TOKEN: ${{ github.token }}
37+
with:
38+
release_name: "Nightly ${{ steps.date.outputs.date }}"
39+
body: "${{ steps.date.outputs.changelog }}"
40+
tag: Nightly
41+
- name: Upload release artifacts
42+
uses: actions/upload-release-asset@v1
43+
env:
44+
GITHUB_TOKEN: ${{ secrets.github_token }}
45+
with:
46+
upload_url: ${{ steps.update_release.outputs.upload_url }}
47+
asset_path: build/YoYoLoader.vpk
48+
asset_name: YoYoLoader.vpk
49+
asset_content_type: application/zip

CMakeLists.txt

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,7 @@ target_link_libraries(YoYoLoader
4949
SceCommonDialog_stub
5050
SceDisplay_stub
5151
SceKernelDmacMgr_stub
52-
SceRazorHud_stub
53-
SceRazorCapture_stub
54-
SceFios2_stub
5552
SceGxm_stub
56-
SceLibcBridge_stub
5753
SceShaccCg_stub
5854
SceSysmodule_stub
5955
ScePower_stub
@@ -96,11 +92,8 @@ target_link_libraries(loader
9692
SceCommonDialog_stub
9793
SceDisplay_stub
9894
SceKernelDmacMgr_stub
99-
SceRazorHud_stub
100-
SceRazorCapture_stub
10195
SceFios2_stub
10296
SceGxm_stub
103-
SceLibcBridge_stub
10497
SceShaccCg_stub
10598
SceSysmodule_stub
10699
ScePower_stub

0 commit comments

Comments
 (0)