File tree Expand file tree Collapse file tree 1 file changed +34
-1
lines changed Expand file tree Collapse file tree 1 file changed +34
-1
lines changed Original file line number Diff line number Diff line change 7
7
pull_request :
8
8
branches-ignore :
9
9
- build_windows_dependencies
10
-
11
10
jobs :
12
11
build :
13
12
name : ${{ matrix.config.name }}
@@ -115,3 +114,37 @@ jobs:
115
114
run : |
116
115
git status
117
116
ls -lR build
117
+
118
+ build-ps2 :
119
+ name : PS2 build
120
+
121
+ runs-on : ubuntu-latest
122
+ container : ps2dev/ps2dev:latest
123
+ steps :
124
+ - name : Install dependencies
125
+ run : |
126
+ apk add cmake build-base git zip gawk python3 py3-pip bash
127
+
128
+ - name : git checkout
129
+ uses : actions/checkout@v4
130
+
131
+ - name : Compile PS2
132
+ run : |
133
+ cmake -S prboom2 -B build -DBUILD_GL=OFF -DSDL2_IMAGE_FOUND=ON -DSDL2_MIXER_FOUND=ON -DZLIB_FOUND=ON -DLIBMAD_FOUND=ON -DVORBIS_FOUND=ON "-DCMAKE_TOOLCHAIN_FILE=${PS2DEV}/share/ps2dev.cmake"
134
+ cmake --build build
135
+
136
+ - name : Upload artifacts
137
+ if : ${{ success() }}
138
+ uses : actions/upload-artifact@v2
139
+ with :
140
+ name : prboom-plus
141
+ path : build/prboom-plus.elf
142
+
143
+ - name : Create release
144
+ if : github.ref == 'refs/heads/master'
145
+ uses : marvinpinto/action-automatic-releases@latest
146
+ with :
147
+ repo_token : " ${{ secrets.GITHUB_TOKEN }}"
148
+ automatic_release_tag : " latest"
149
+ title : " Latest development build"
150
+ files : prboom-plus.elf
You can’t perform that action at this time.
0 commit comments