@@ -135,56 +135,81 @@ jobs:
135135 pico_board : pico,
136136 pico_platform : rp2040,
137137 withemulator : 0,
138+ withsidplayer : 0,
138139 }
139140 - {
140141 buildname : Pico_W,
141- directory : pico_w ,
142+ directory : picow ,
142143 pico_board : pico_w,
143144 pico_platform : rp2040,
144145 withemulator : 0,
146+ withsidplayer : 0,
145147 }
146148 - {
147149 buildname : Pico2,
148150 directory : pico2,
149151 pico_board : pico2,
150152 pico_platform : rp2350-arm-s,
151153 withemulator : 0,
154+ withsidplayer : 0,
152155 }
153156 - {
154157 buildname : Pico2_W,
155- directory : pico2_w ,
158+ directory : pico2w ,
156159 pico_board : pico2_w,
157160 pico_platform : rp2350-arm-s,
158161 withemulator : 0,
162+ withsidplayer : 0,
159163 }
160164 - {
161165 buildname : Pico_Emulator,
162166 directory : pico_em,
163167 pico_board : pico,
164168 pico_platform : rp2040,
165169 withemulator : 1,
170+ withsidplayer : 0,
166171 }
167172 - {
168173 buildname : Pico2_Emulator,
169174 directory : pico2_em,
170175 pico_board : pico2,
171176 pico_platform : rp2350-arm-s,
172177 withemulator : 1,
178+ withsidplayer : 0,
173179 }
174180 - {
175181 buildname : Pico_W_Emulator,
176182 directory : pico_w_em,
177183 pico_board : pico_w,
178184 pico_platform : rp2040,
179185 withemulator : 1,
186+ withsidplayer : 0,
180187 }
181188 - {
182189 buildname : Pico2_W_Emulator,
183190 directory : pico2_w_em,
184191 pico_board : pico2_w,
185192 pico_platform : rp2350-arm-s,
186193 withemulator : 1,
194+ withsidplayer : 0,
187195 }
196+ - {
197+ buildname : Pico2_SIDplayer,
198+ directory : pico2_sp,
199+ pico_board : pico2,
200+ pico_platform : rp2350-arm-s,
201+ withemulator : 0,
202+ withsidplayer : 1,
203+ }
204+ - {
205+ buildname : Pico2_W_SIDplayer,
206+ directory : pico2_w_sp,
207+ pico_board : pico2_w,
208+ pico_platform : rp2350-arm-s,
209+ withemulator : 0,
210+ withsidplayer : 1,
211+ }
212+
188213 fail-fast : false
189214 steps :
190215 - name : 🗒️ Set tag output
@@ -211,6 +236,30 @@ jobs:
211236 run : |
212237 sudo apt-get update && sudo apt-get install curl build-essential cmake -y
213238
239+ - name : Install SID player xa dependency
240+ if : ${{matrix.withsidplayer == 1 }}
241+ run : |
242+ sudo apt-get update && sudo apt-get install -y xa65
243+
244+ - name : Checkout bin2h source
245+ if : ${{matrix.withsidplayer == 1 }}
246+ uses : actions/checkout@v4
247+ with :
248+ repository : elnormous/bin2h
249+ path : bin2h-src
250+
251+ - name : Build and add to PATH
252+ if : ${{matrix.withsidplayer == 1 }}
253+ run : |
254+ cd bin2h-src
255+ make
256+ # Add the current directory containing the built 'bin2h' to the runner's PATH
257+ echo "$(pwd)" >> $GITHUB_PATH
258+
259+ - name : Verify installation
260+ if : ${{matrix.withsidplayer == 1 }}
261+ run : bin2h --help
262+
214263 - name : 🗒️ Check GCC Version
215264 id : compiler-version
216265 run : |
@@ -296,6 +345,13 @@ jobs:
296345 repository : loudnl/emudore-embedded
297346 path : master/lib/emudore-embedded
298347
348+ - name : 📇 Checkout USBSID-Player
349+ if : ${{matrix.withsidplayer == 1 }}
350+ uses : actions/checkout@v4
351+ with :
352+ repository : loudnl/usbsid-player
353+ path : master/lib/usbsid-player
354+
299355 - name : 🏭 Create build directory
300356 run : |
301357 mkdir -p ${{github.workspace}}/master/build_${{matrix.directory}}
@@ -304,7 +360,15 @@ jobs:
304360 run : |
305361 unset PICO_PLATFORM
306362 unset PICO_BOARD
307- cmake -S master -B ${{github.workspace}}/master/build_${{matrix.directory}} -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DPICO_PLATFORM=${{matrix.pico_platform}} -DPICO_BOARD=${{matrix.pico_board}} -Dpicotool_DIR=${{github.workspace}}/picotool/picotool -DONBOARD_EMULATOR=${{matrix.withemulator}} $extra_arg
363+ cmake -S master \
364+ -B ${{github.workspace}}/master/build_${{matrix.directory}} \
365+ -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} \
366+ -DPICO_PLATFORM=${{matrix.pico_platform}} \
367+ -DPICO_BOARD=${{matrix.pico_board}} \
368+ -Dpicotool_DIR=${{github.workspace}}/picotool/picotool \
369+ -DONBOARD_EMULATOR=${{matrix.withemulator}} \
370+ -DONBOARD_SIDPLAYER=${{matrix.withsidplayer}} \
371+ $extra_arg
308372
309373 - name : 🏭 Build ${{matrix.buildname}}
310374 run : |
0 commit comments