Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubunto Flat/Snap Package Request #897

Open
wants to merge 3,487 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3487 commits
Select commit Hold shift + click to select a range
4e1f7f4
Add some delay when inputCapture mechanism is triggered - Fix scorche…
Nov 16, 2023
e8b6c1c
Fix scroll line calculation - Fix Mass destruction
Nov 18, 2023
8637f36
reintroduce soundRam as a code execution area
Nov 20, 2023
313b90d
Fix back virtual Maahjong
Nov 20, 2023
c461dc6
BEF = CEF at frame change - Fix Virtual On - Fix #1466
Nov 20, 2023
e37b38f
Fix divide by zero
Nov 20, 2023
04bab57
handle invalid NTSC resolution - Fix #1234
Nov 20, 2023
7fa6739
Fix RBG special priority computation - Fixes Last Bronx
Nov 20, 2023
7876a90
remove dead code
Nov 23, 2023
3893ebb
do not start two field on the same frame
Nov 23, 2023
5727919
Clean the scsp code a bit
Nov 23, 2023
f9facc3
Do not switch EDSR twice on PTMR == 2
Nov 24, 2023
5e08006
Handle interrupts after executing the instruction, not before, otherw…
Nov 24, 2023
5702afa
Clean up of code
Nov 24, 2023
a1058d3
Add jmp list on VDP1 debug screen
Nov 24, 2023
627c48f
Do not continue the drawing list when a loop is detected
Nov 26, 2023
5b83bb4
When the FRC is reseted or overflow, restart with old at 0 but leftov…
Nov 26, 2023
c3c2b23
Ensure the limit with a mask
Nov 26, 2023
df389b6
When a core does not run, use the PC as adress to check interrupt - a…
Nov 26, 2023
512d1a7
Fix FTCSR clear mechanism - Read is required before write
Nov 27, 2023
9083298
Remove dead code
Nov 29, 2023
1dfdaf9
Add a showmatrix function
Nov 29, 2023
725ce17
Do not rotate the vdp1 on the framebuffer
Nov 29, 2023
00bd8cd
Rotate the vdp1 framebuffer when vdp2 is accessing it
Nov 29, 2023
13f7a48
Fix Vdp1 rotation by changing the origin in openGL pipeline
Nov 29, 2023
ea0eace
Do not reset Erase parameter on a Vdp1 reset called by a clock change
Nov 29, 2023
100dbe8
Fix true pinball
Nov 30, 2023
11add74
Fix read and write FB memory access - Fix Peeble beach and darlight
Nov 30, 2023
8505468
Fix FB scale in different resolution mode
Nov 30, 2023
e4251a1
Update libretro_core_options.h
barbudreadmon Nov 30, 2023
098b4c9
Update libretro.c
barbudreadmon Nov 30, 2023
e57945a
Fix vdp1 shift transform on upscale
Nov 30, 2023
45493bf
reintroduce the LIBRETRO exclusion
Nov 30, 2023
7401aeb
Add 6xBRZ filter
Nov 30, 2023
75bb84e
Add xbrz6 shader
Nov 30, 2023
a94f390
remove non working 2xBRZ
Nov 30, 2023
92dd02e
remove unwanted comment
Nov 30, 2023
a5c5d1a
dead code
Nov 30, 2023
4b7581b
Dead code
Nov 30, 2023
0ceaa56
Save many memcpy - shall improve cell rendering performance
Dec 1, 2023
c8d8768
Fix cell declaration
Dec 2, 2023
cf47d4c
Vertex shall be considered as centered in y
Dec 2, 2023
622a5b6
Only polygon computation shall be shifted half a pixel down
Dec 2, 2023
97a841c
Nope, Pin is fine - issue is elsewhere, on other conditions
Dec 2, 2023
79f9559
Do not show extra pixel on boarders when upscaling
Dec 2, 2023
46be724
same for horizontal resolution
Dec 2, 2023
f87b797
Hide all extra lines
Dec 2, 2023
df54da0
Fix window line calulation
Dec 2, 2023
0315fff
Erase framebuffer if requested before the read access
Dec 4, 2023
5435fb3
Only read from the draw framebuffer - No other FB can be accessed by …
Dec 5, 2023
6c9dbf3
reevaluate irl vector when it is changing twice during an emulation s…
Dec 5, 2023
e0a9307
Fix SMPC SH2 direct mode
Dec 5, 2023
43712c7
Remove software renderer - need to fix Vdp2Debug now
Dec 6, 2023
264afee
Make the vdp2 viewer dynamic
Dec 6, 2023
1abe124
Branch he rendering pipline to debug screen. Add an opaque option
Dec 6, 2023
7a41b5c
Add TVM value in sprite stuff
Dec 6, 2023
787d33a
Add erase area in debug info
Dec 6, 2023
3006f2d
A bit more explicit
Dec 6, 2023
4f04344
Reduce memory needs by limiting CS0 cache size to ROMcart mapping only
Dec 7, 2023
40aaf44
Remove useless options now soft renderer has gone
Dec 7, 2023
01bc6db
Move cache a static declaration - avoid slow malloc/free on windows
Dec 7, 2023
5fe7cb6
Move initilaisation on static area and let the OS handle it - Shall s…
Dec 7, 2023
55bee58
Fix compilation from scratch
Dec 7, 2023
dbaf037
Makes ASAN happy
Dec 7, 2023
89a5f5e
Windows does not like global initialisation of static array that is d…
FCare Dec 7, 2023
53a56d3
Fix trace
Dec 7, 2023
78c2b8f
Remove static initialisation since it consumes a lot of space and win…
Dec 8, 2023
53f92b2
Fix manualerase mode and onecyclemode - Fix Outrun
Dec 8, 2023
c823250
This workaround is not needed anymore - Fix scorcher boot
Dec 8, 2023
be66da4
general screen shall always be visible
Dec 8, 2023
79872ef
Show all informations event if screen is disabled
Dec 8, 2023
ef11f70
Let the interpreter move a bit before next interrupt - fix rayman freeze
Dec 8, 2023
46c12d6
Align PTMR/FBCR/TVMR usage to the documentation behavior
Dec 11, 2023
f513e34
Move the update of colorram and per line variable a bit before
Dec 12, 2023
c771264
remove useless code
Dec 12, 2023
b99de44
Add a sprite window in VDP2 debug in order to see Framebuffer content…
Dec 12, 2023
c8a6060
SPRITE layer is not mirrored in Y
Dec 12, 2023
0364376
Move related sprite info in the sprite window
Dec 13, 2023
cddbbe2
Add color calculation when on second screen
Dec 13, 2023
adc23be
This is not an error any more - MR bones is using cache data array to…
Dec 13, 2023
4394518
Move the vdp1 delay to use raster values as definied in the spec
Dec 13, 2023
2601fdb
Only report ended command when all cycles consumed by last command we…
Dec 13, 2023
607dc9c
Sync TVSTAT with new frame timing - Fix Golden AXE startup animation
Dec 13, 2023
d9f8d97
FB pixel size has no impact on raster
Dec 14, 2023
99b4ff9
Do not popup on invalid opcode
Dec 14, 2023
6eb614a
An intback is ready at next VBlankout - wait to next vBlanjout to pro…
Dec 14, 2023
32c4d18
CPU might be blocked to the next HBlankin if accessing VDP2Ram withou…
Dec 14, 2023
5bfaa3d
reintroduce debug entry for SCSP channels
Dec 14, 2023
8606f81
HSS speed up VDP1 rendering
Dec 14, 2023
70964a7
Fix runtime crash
Dec 14, 2023
d780e24
link raster capacity to horizontal resolution
Dec 15, 2023
3c6bbc4
when a drawing coordinate is considered as bad, do not draw the command
Dec 15, 2023
3466ad1
Add more information about bad coordinates in vdp1 debug screen
Dec 15, 2023
311f23a
HSS only speed up rendering when the drawing is shrinked
Dec 15, 2023
f33b22e
as Gouraud perimpact has not been evaluated, assume it is free
Dec 15, 2023
a4a8156
Add the estimated cycles in the Vdp1 debug info
Dec 15, 2023
981ba05
PTMR at 1 trigger drawing only once
Dec 15, 2023
8d0c707
Fix cmd w and h in debug
Dec 15, 2023
33fc5e8
Simpler calculation since when in diagonal, line does not really repr…
Dec 15, 2023
80e09b4
It looks like testing limit is too low - Metal slug has issue otherwise
Dec 15, 2023
594fd4b
Remove a log
Dec 15, 2023
046a3e8
Cap the coordinates to framebuffer size while computing cycles
Dec 15, 2023
2c56441
Do not stop debug command list on unused bit detection - Fix burning …
Dec 15, 2023
db4db4a
Force the sign bit extend only
Dec 15, 2023
143b745
when pre clipping is on, do not compute hidden pixels
Dec 15, 2023
2678edb
Fix scaled cycle computation
Dec 15, 2023
f235e2e
Clipping is not working - not safe for release
Dec 15, 2023
9e6894d
Fix bad scale coordinates detection
Dec 16, 2023
0a26fe6
Thx to fafling, coordinate check is aligned with real HW
Dec 16, 2023
7f27676
On intback, only wait if command is out of Vblank. Otherwise, execute…
Dec 16, 2023
7d37d8b
Only wait during the time the controler state is read
Dec 16, 2023
2385978
Fix scaled sprite valid calculation
Dec 17, 2023
377a994
Resize the Settings window
BenjaminSiskoo Dec 17, 2023
dd302ba
Resize Debug VDP1 window
BenjaminSiskoo Dec 17, 2023
c1f11a0
Improve layout of vdp1 debug window
Dec 17, 2023
145c281
synchronise scrolling lists
Dec 17, 2023
cc824f1
Cleanup a bit the code
Dec 17, 2023
09e85a8
Only consider Vdp2Ram updated when there is a write access, not a read
Dec 18, 2023
5413db5
realign with old blocking mechanism
Dec 18, 2023
028aa02
Do not make the smpc report a time which is not in sync with the emul…
Dec 18, 2023
4093c72
Remove useless traces at startup
Dec 18, 2023
347e3a1
Better with EWLR and ERR registers
Dec 18, 2023
341106d
Use past framebuffer pixel as source for color calculation - Fix Figh…
Dec 18, 2023
65c0437
Consider pre clipping in cycle calculation
Dec 18, 2023
139ea35
Color Ram shall be updated on latest line - Fix #1505
Dec 18, 2023
0e605a6
Move VDP1 debug and vdp2 debug window freely so that we can see the g…
Dec 19, 2023
ef68692
Add a next frame in the vdp1 debug window so that we can step to the …
Dec 19, 2023
fcf060b
Add a next frame in the vdp2 debug window so that we can step to the …
Dec 19, 2023
6eb3c96
Add vdp2ram as an executable area - Fix PGA tour 97
Dec 19, 2023
c68cad9
Do not start a draw on VBlankout
Dec 19, 2023
6e8868e
remove volatile settings and store the cart path in the kronos.ini - …
Dec 19, 2023
fb1dba8
Remove warning message
Dec 20, 2023
ba052aa
remove useless log
Dec 20, 2023
e447964
Fix autostart usage in qt
Dec 20, 2023
dfff073
Limit autostart to start once a rom has been loaded only. Avoid autos…
Dec 20, 2023
9bd8262
Restore the usage of SMPC SF flag - implemet the intback delays regar…
Dec 21, 2023
3211a5d
Use NPE bit to know if it continues or not
Dec 21, 2023
ece86c7
The continue bit is toggled, not written as 1 only
Dec 21, 2023
0935852
Use a bit of delay to acquire the controllers
Dec 21, 2023
872459e
Only consider continue and break when first intback has been processe…
Dec 21, 2023
688a4c3
Fix SF due to SR
Dec 22, 2023
06efdfd
OREG31 shall be enbaled as soon as the command is starting
Dec 22, 2023
411a3aa
Once intback waited for vblank, peripheral data are available - no ne…
Dec 22, 2023
6eb2bac
Fix rayman
Dec 22, 2023
745fb80
Be more precise on the abort - Fix shellshoxk
Dec 22, 2023
1199bd0
Release 2.6.0
Dec 22, 2023
6132a82
fix libretro port
Dec 23, 2023
4d319f0
Abort if SF reports a command as still ongoing or if a command as bee…
Dec 24, 2023
0a46873
Remove the usage of the Timer. Used posted message instead
Dec 25, 2023
5838207
Remove unused thread code for clarity
Dec 26, 2023
055c72a
Fix time type - avoid overflow
FCare Dec 26, 2023
0fab16a
a better log
Dec 26, 2023
ef0a5cb
Fix autostart usage in cli
Dec 27, 2023
abf0d6e
Fix screenshot without software rendering
Dec 27, 2023
67216b2
Enable autostart by default - require a clear of kronos.ini
Dec 27, 2023
6b11200
move to 2.6.1
Dec 28, 2023
c31b11f
Fix migration from openGL to CS default Core
FCare Dec 29, 2023
b847da5
Update kronos_fr.yts
BenjaminSiskoo Jan 1, 2024
26a45da
Do not report that a MPEG card is present since it is not working
Mar 22, 2024
4f9a4bb
Use height while saving - Fix #1534
May 14, 2024
523427a
gcc14: fix implicit function declaration
ToKe79 May 24, 2024
8b105cb
gcc14: fix implicit function declaration
ToKe79 May 24, 2024
66a74d0
gcc14: fix return mismatch
ToKe79 May 24, 2024
400670e
Add Wanpaku Safari + small fixes
BenjaminSiskoo Jul 3, 2024
b0a07b1
CS1 Dev cart nterface shall report the cartId
FCare Jul 29, 2024
1837142
on 0xFFFFF0 access, dev cart is also sending back its id. It should a…
FCare Jul 29, 2024
69e778e
Fix overaxes wrapping on controllers - Close #1548
Aug 21, 2024
1ec5dd0
Fix trigger buttons - Fix #1547
Aug 21, 2024
5d70322
Take care of adress overflow when accessing vdp1 ram - Fix #1549
Aug 23, 2024
3de0ef0
Take care of min and max hat on controler
Aug 23, 2024
60c0162
Use updated vdp2 color ram when resolving vdp1 color - Fix #695
Aug 26, 2024
b0819ab
Add some comments fopr future debug
Aug 27, 2024
c769c42
In case of single density output, we need to compute twice the number…
Aug 30, 2024
f728594
When deinterlacing odd shall be doubled on previous even line, and ev…
Aug 30, 2024
67744eb
Define interlace possible values
Sep 2, 2024
0860a06
Move double density in the global control
Sep 2, 2024
812264f
remove dead code
Sep 2, 2024
3f8466f
remove dead code
Sep 2, 2024
3927c2a
Clean code
Sep 2, 2024
6518395
Optimize double density rendering
Sep 2, 2024
291e12c
Remove dead code
Sep 2, 2024
60289a2
Fix dead or alive double interlace in original size
Sep 4, 2024
1b579cf
Take care to interlace format when upscaling
Sep 5, 2024
3a21c7c
Remove dead code
Sep 5, 2024
c7043b9
Fix window usage on double interlace
Sep 6, 2024
cc86f5b
Stop evaluating area as soon as a point is visible
Sep 6, 2024
2b99bd7
Fix upscaling and deinterlacing
Sep 6, 2024
00ec7ce
Use enum for stretch interface
Sep 6, 2024
c89dd81
Rename scaling profiles
Sep 7, 2024
48094ac
Fix bob deinterlacing
Sep 8, 2024
7c229fb
Fix scanline
Sep 8, 2024
28b35b0
Upscale resolution shall be seen as a minimal resolution to achieve
Sep 8, 2024
99b7b52
REmove log
Sep 8, 2024
c33402b
Change enum names to comply with windows
Sep 8, 2024
6056636
USe the maximum workgroup size based on HW capabilities
Sep 8, 2024
72931bf
Fix DrawMapPerLine - Fix astra superstar
Sep 10, 2024
963861c
Remove useless code
Sep 10, 2024
7d68b6c
Fix typo - Fiw crash on astra
Sep 11, 2024
9ddb5cb
Extend lineinfo to second field
Sep 11, 2024
c3f69d7
Rationalize upscale options
Sep 12, 2024
fccaec6
Fix scale on integer size and simplify OSSC bob
Sep 12, 2024
3087d15
Fix translation
Sep 12, 2024
d6f54a9
Rename emblishments
Sep 12, 2024
64a64dc
Scanline shall be always displayed when selected
Sep 12, 2024
9c0c592
formatting code
Sep 12, 2024
c05be95
On scanline, show the last drawn field
Sep 13, 2024
356932f
Rework integer scaling option
Sep 13, 2024
a551916
Add a special case for left column - Fix line appearing on left in so…
Sep 13, 2024
387c842
Fix ratio and upscale limts for all modes
Sep 13, 2024
eb059d9
Remove trace
Sep 14, 2024
86be24e
Scale limit shall not zero
Sep 14, 2024
406ad4d
Fix reference pixel aspect ratio for NTSC
Sep 15, 2024
9594b83
Enforce the variadic macro support. Improve compilation code detection
Sep 15, 2024
cb09336
Fix sound buf length on libretro
Sep 16, 2024
6a6e04e
Only evaluate variables if one is reported to have changed
Sep 16, 2024
23bf796
Update libretro sound interface
Sep 16, 2024
9796daa
Ensure computation evaluation with brackets
Sep 19, 2024
9bc596a
Fix interlace
Sep 20, 2024
e466aa4
Limit workgroup size. CAlculation is a bad idea. Workgroup size shall…
Sep 21, 2024
986e6ef
Do not modify the cellw and cellh on RBG draw - it is not required si…
Sep 27, 2024
facf927
Fix aspect ratios
Sep 28, 2024
84f3cdb
Original screen ratio depends CLK settings
Sep 28, 2024
8387259
2.62 release
Sep 29, 2024
95abe21
Fix FB access for 8 bits
Sep 29, 2024
4bd63ae
Remove dead code
Sep 29, 2024
e43be0b
Remove useless code
Sep 30, 2024
a6ceb0e
Fiw write to FB in 8 bits - Fixes #1350
Sep 30, 2024
96ba325
Put a limit on FB access for the moment. It has to be removed in the …
Sep 30, 2024
40e798d
RGB access can not be statically calculated when RMP mode is 2 or 3 -…
Sep 30, 2024
380da95
Use two dedicated framebuffer memory access set of functions. One for…
Oct 3, 2024
1844f3c
Fix long read 16bits framebuffer access - Fix After Burner 2 start menu
Oct 5, 2024
e75d525
Fix github actions for windows
Oct 14, 2024
03a2731
Upload resulting artifact on github action
Oct 14, 2024
3316e0e
Fix Cpack installer generation on CI
Oct 15, 2024
70c59dd
Add more generated files to .gitignore
pstef Oct 22, 2024
954325e
libretro-common: sync with upstream cdrom/
pstef Oct 22, 2024
53656a9
Remove erroneous free() call in zlib_codec_init()
invertego May 2, 2022
7f4f60a
Respect canonical GNUMake variables CFLAGS and CXXFLAGS
pstef Oct 22, 2024
7053d62
This assignment was meant to be a comparison
pstef Oct 23, 2024
432beeb
Store the result of fgetc call in an int
pstef Oct 23, 2024
df2cdbd
Fix precedence in a conditional
pstef Oct 23, 2024
b6511fc
De-duplicate 'const' declaration specifier
pstef Oct 23, 2024
7149a2a
Reduce indentation
pstef Oct 23, 2024
1696a59
Cover all control paths explicitly
pstef Oct 23, 2024
99f694b
Remove extraneous parentheses
pstef Oct 23, 2024
60df15a
Remove conflicting declaration
pstef Oct 23, 2024
3cc4fd3
Change return type of Vdp1EraseWrite to void
pstef Oct 23, 2024
4f655a6
Move workflow on main branch
Oct 25, 2024
b96ae46
Fix Linux worker for .deb
Oct 25, 2024
46e687c
Remove useless worker
Oct 25, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
26 changes: 26 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

What's the full name of the game (including region) ?

What's your frontend ? (standalone, libretro, ...) ?

What's your OS ? (windows, linux, OSX, ...) ?

What's your hardware ? (CPU, GPU, ...) ?

What's the storage type of the game (official cd, burned cd or cd image) ?

If applicable, what's the format of your cd image ? (cue/bin, ccd/img, iso, chd, ...)

Are you using any setting different from default ? If so, precise

Did this game work previously ? Do you remember when ? Is it happening with other games ?

If applicable, provide error messages, logs, screenshots, or whatever additional information that could help debugging this
60 changes: 60 additions & 0 deletions .github/workflows/cmake.linux.ubuntu.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: CMake Linux Ubuntu

on:
push:
branches: [ kronos-cmake_ci ]
pull_request:
branches: [ kronos-cmake_ci ]
workflow_dispatch:

env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release

jobs:
build:
name: Releasing for Ubuntu
# The CMake configure and build commands are platform agnostic and should work equally
# well on Windows or Mac. You can convert this to a matrix build if you need
# cross-platform coverage.
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
runs-on: ubuntu-latest

steps:
- name: Preparing environment
run: |
echo "Installing required packages."
sudo apt-get update
sudo apt-get install -y cmake qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools qtmultimedia5-dev libqt5opengl5-dev libsdl2-dev
echo "Cloning sources"
- name: Checkout Code
uses: actions/checkout@v4

- name: Configure CMake
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
run: |
cmake -S ${{github.workspace}}/yabause -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}

- name: Build
# Build your program with the given configuration
shell: bash
run: |
echo "Compiling"
cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
cd ${{github.workspace}}/build
cpack -G DEB
NAME=$(ls kronos*.deb)
echo "ReleaseFile=${{github.workspace}}/build/$NAME" >> "$GITHUB_ENV"
echo "ArtifactName=$NAME" >> "$GITHUB_ENV"
- name: Binary upload
uses: actions/upload-artifact@v4
with:
name: ${{env.ArtifactName}}
path: ${{env.ReleaseFile}}
#- name: Test
#working-directory: ${{github.workspace}}/build
# Execute tests defined by the CMake configuration.
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
#run: ctest -C ${{env.BUILD_TYPE}}

74 changes: 74 additions & 0 deletions .github/workflows/cmake.windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
name: Generate Windows Installer

on:
push:
branches: [ kronos-cmake_ci ]
pull_request:
branches: [ kronos-cmake_ci ]
workflow_dispatch:

env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release

jobs:
build:
# The CMake configure and build commands are platform agnostic and should work equally
# well on Windows or Mac. You can convert this to a matrix build if you need
# cross-platform coverage.
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
runs-on: windows-latest

steps:
- uses: actions/checkout@v4

- name: Install Qt
uses: jurplel/install-qt-action@v3
with:
version: '5.15.2'
modules: 'all'
- name: Download SDL2
shell: pwsh
run: |
Invoke-WebRequest -OutFile SDL2.zip -Uri https://github.com/libsdl-org/SDL/releases/download/release-2.30.8/SDL2-devel-2.30.8-VC.zip
- name: Install SDL2
shell: pwsh
run: |
Expand-Archive -Force SDL2.zip .\
mv SDL2-2.30.8 ${{github.workspace}}/SDL2
rm SDL2.zip
- name: Configure CMake
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
env:
sdl2lib_DIR: ${{github.workspace}}\SDL2
sdl2_DIR: ${{github.workspace}}\SDL2\cmake
run: |
cmake -S ${{github.workspace}}/yabause -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}

- name: Build
# Build your program with the given configuration
run: |
echo "Compiling"
cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} --target package

#- name: Test
#working-directory: ${{github.workspace}}/build
# Execute tests defined by the CMake configuration.
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
#run: ctest -C ${{env.BUILD_TYPE}}
- name: Prepare package
id: rename
shell: bash
run: |
SHORT_SHA=$(echo ${{ github.sha }} | cut -c 1-7)
NAME=$(find build/ -maxdepth 1 -iname "kronos-*.exe")
mv $NAME kronos-win64-$SHORT_SHA.exe
echo "ReleaseFile=kronos-win64-$SHORT_SHA.exe" >> "$GITHUB_ENV"
echo "ArtifactName=kronos-win64-$SHORT_SHA" >> "$GITHUB_ENV"
- name: Binary upload
uses: actions/upload-artifact@v4
with:
name: ${{env.ArtifactName}}
path: ${{env.ReleaseFile}}

53 changes: 53 additions & 0 deletions .github/workflows/release_on_tag.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Kronos Automatic releases on tag
on:
push:
tags:
- '**_official_release'
jobs:
ubuntu_release_job:
name: Releasing for Ubuntu
runs-on: ubuntu-20.04
steps:
- name: Preparing environment
run: |
echo "Installing required packages."
sudo apt-get update
sudo apt-get install -y cmake qt5-default qtmultimedia5-dev libqt5opengl5-dev libsdl2-dev
echo "Cloning sources"
- name: Checkout Code
uses: actions/checkout@v2
- name: Compiling
run: |
echo "Preparing compilation"
echo "Configuring"
cmake yabause
echo "Compiling"
make
echo "Compilation done"
- name: Installing
run: |
echo "Installing"
make DESTDIR=install install
cd install/
zip -r ../kronos_ubuntu.zip .
cd ..
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: ./kronos_ubuntu.zip
asset_name: Kronos binaries for Ubuntu
asset_content_type: application/zip
39 changes: 39 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
yabause/src/android/res/values/security.xml
yabause/src/zlib/zconf.h
/.gradle/
/local.properties
.DS_Store
*.iml
build/
/*build/
**/*build/*
*.a
*.so
*.o
*.swp
yabause/.vs/slnx.sqlite
yabause/.vs/yabause/v15/Browse.VC.db
yabause/.vs/yabause/v15/Browse.VC.opendb
yabause/.vs/yabause/v15/ipch/AutoPCH/ac374fd6e6518240/YGLES.ipch
yabause/.vs/slnx.sqlite-journal
yabause/.vs/ProjectSettings.json
*.ipch
yabause/.vs/yabause/v15/.suo
*.cache
*.cache
yabause/src/libchdr/deps/lzma-16.04/CS/7zip/Compress/LzmaAlone/obj/Debug/LzmaAlone.csprojAssemblyReference.cache
yabause/src/libchdr/deps/lzma-16.04/CS/7zip/Compress/LzmaAlone/obj/Debug/LzmaAlone.csproj.CoreCompileInputs.cache
yabause/src/libchdr/deps/lzma-16.04/CS/7zip/Compress/LzmaAlone/obj/Release/LzmaAlone.csproj.CoreCompileInputs.cache
*.cache
yabause/src/perfetto
.vs/Kronos/v15/.suo
*.db
*.opendb
*.json
*.sqlite
yabause/src/core/m68k/musashi/m68kmake
yabause/src/core/m68k/musashi/m68kopac.c
yabause/src/core/m68k/musashi/m68kopdm.c
yabause/src/core/m68k/musashi/m68kopnz.c
yabause/src/core/m68k/musashi/m68kops.c
yabause/src/core/m68k/musashi/m68kops.h
Loading