Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
106 lines (92 loc) · 2.89 KB

File metadata and controls

106 lines (92 loc) · 2.89 KB
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
name: CI
on:
push:
pull_request:
repository_dispatch:
types: [run_build]
jobs:
build:
runs-on: ubuntu-latest
container: ghcr.io/pspdev/pspsdk:latest
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
apk add build-base linux-headers readline-dev libusb-dev
- name: Compile project
run: |
make -j $(getconf _NPROCESSORS_ONLN) clean
make -j $(getconf _NPROCESSORS_ONLN)
make -j $(getconf _NPROCESSORS_ONLN) -C pspsh install
make -j $(getconf _NPROCESSORS_ONLN) -C usbhostfs_pc
make release
- name: Upload artifacts
if: ${{ success() }}
uses: actions/upload-artifact@v4
with:
name: psplinkusb
path: release
windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Set up Cygwin
uses: egor-tensin/setup-cygwin@v4
with:
packages: gcc-core gcc-g++ make libreadline8 libreadline-devel libusb1.0 libusb1.0-devel
- name: Compile project
run: |
make -j $(getconf _NPROCESSORS_ONLN) -C pspsh
make -j $(getconf _NPROCESSORS_ONLN) -C usbhostfs_pc
mkdir build
cp usbhostfs_pc\usbhostfs_pc.exe build
cp pspsh\pspsh.exe build
- name: Collect and copy Cygwin DLL dependencies
shell: C:\tools\cygwin\bin\bash.exe --norc -eo pipefail -o igncr '{0}'
run: |
for exe in build/usbhostfs_pc.exe build/pspsh.exe; do
cygcheck "$exe" | grep -E '\.dll$' | grep "\\\\cyg" | while read -r dll; do
[[ -f "$dll" ]] && cp "$dll" build/
done
done
- name: Upload artifacts
if: ${{ success() }}
uses: actions/upload-artifact@v4
with:
name: psplinkusb-windows
path: build
publish:
needs: [build, windows]
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')
steps:
- uses: actions/download-artifact@v4
- name: Compress & Rename artifacts
run: |
mv psplinkusb/psplink psplink
zip -r psplink.zip psplink
zip -r pspsh-windows.zip psplinkusb-windows
- name: Create pre-release
if: github.ref == 'refs/heads/master'
uses: softprops/action-gh-release@v2.2.2
with:
files: |
psplink.zip
pspsh-windows.zip
release/psplink_manual.pdf
prerelease: true
name: "Development build"
tag_name: "latest"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Release
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v2.2.2
with:
files: |
psplink.zip
pspsh-windows.zip
release/psplink_manual.pdf
tag_name: ${{ github.ref_name }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Morty Proxy This is a proxified and sanitized view of the page, visit original site.