File tree Expand file tree Collapse file tree
examples/klog_server/source Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CMake
2+
3+ on : [ push, pull_request ]
4+
5+ jobs :
6+ build :
7+ runs-on : ubuntu-latest
8+ steps :
9+ - name : Checkout
10+ uses : actions/checkout@v3
11+
12+ - name : Setup environment
13+ run : |
14+ echo "PS5SDK=$(pwd)" >> $GITHUB_ENV
15+ sudo apt install ninja-build
16+ echo "llvm_ver=16.0" >> $GITHUB_ENV
17+
18+ - name : Cache LLVM and Clang (${{ env.llvm_ver }})
19+ id : cache-llvm
20+ uses : actions/cache@v3
21+ with :
22+ path : ${{ runner.tool_cache }}/llvm-${{ env.llvm_ver }}
23+ key : llvm1-${{ env.llvm_ver }}
24+
25+ - name : Install LLVM and Clang (${{ env.llvm_ver }})
26+ uses : KyleMayes/install-llvm-action@master
27+ with :
28+ version : ${{ env.llvm_ver }}
29+ directory : ${{ runner.tool_cache }}/llvm-${{ env.llvm_ver }}
30+ cached : ${{ steps.cache-llvm.outputs.cache-hit }}
31+
32+ - name : Show Clang version
33+ run : clang -v
34+
35+ - name : Build SDK
36+ run : bash ./build.sh
37+
38+ - name : Upload sample elf
39+ uses : actions/upload-artifact@v3
40+ with :
41+ name : samples
42+ path : ${{ github.workspace }}/**/*.elf
Original file line number Diff line number Diff line change 11# PS5 SDK
22
33[ ![ Release State] ( https://img.shields.io/badge/release%20state-beta-yellow.svg )] ( https://github.com/PS5Dev/PS5SDK ) [ ![ Platforms] ( https://img.shields.io/badge/platform-linux%20%7C%20windows%20%7C%20macos-lightgrey )] ( https://github.com/PS5Dev/PS5SDK )
4+ [ ![ CMake] ( ../../actions/workflows/cmake.yml/badge.svg )] ( ../../actions/workflows/cmake.yml )
45
56** Note: As this SDK is a work-in-progress, it's subject to major changes between releases until it approaches a stable version (1.0).**
67
Original file line number Diff line number Diff line change @@ -93,7 +93,6 @@ extern void *fptr__read;
9393int payload_main (struct payload_args * args )
9494{
9595 int mainPID ;
96- uint64_t temp_addr ;
9796
9897 // Fork must be resolved manually, dlsym refuses to resolve it
9998 void (* fptr_fork )() = (void (* )())(fptr__read + OFFSET_FORK_FROM_READ );
@@ -108,4 +107,4 @@ int payload_main(struct payload_args *args)
108107 }
109108
110109 return 0 ;
111- }
110+ }
You can’t perform that action at this time.
0 commit comments