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

Yaba Sanshiro VR #424

Open
wants to merge 4,090 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
4090 commits
Select commit Hold shift + click to select a range
6b25491
mian process
devmiyax Jan 22, 2023
4109ab3
Fix: Dracura X picture
devmiyax Jan 24, 2023
9304195
rotate
devmiyax Jan 27, 2023
043e0f6
Windowrender has bug
devmiyax Jan 28, 2023
a2674d9
Stencilwindow
devmiyax Jan 29, 2023
ab17648
fix build error for android
devmiyax Jan 29, 2023
521e8e6
fix albert odessay
devmiyax Jan 29, 2023
7c5a2e0
fix for armv7a
devmiyax Jan 29, 2023
9595b69
set default video driver as Vulkan
devmiyax Jan 29, 2023
ec5b0c4
fix build for x86
devmiyax Jan 29, 2023
52c5a3b
use same animation for fragment showing
devmiyax Jan 29, 2023
7aa906d
automate config for game pad
devmiyax Jan 29, 2023
1e14179
fix to tessellation and compute shader for Vulkan mode
devmiyax Jan 30, 2023
79be8f1
FIX: clear does not work when screen mode is not native
devmiyax Jan 30, 2023
98d6228
Exit async
devmiyax Jan 31, 2023
3064ec7
fix erase coordinate
devmiyax Jan 31, 2023
e192c80
refrect interlace for scissor
devmiyax Jan 31, 2023
b1a8bf4
set target Android version 33
devmiyax Jan 31, 2023
f85bcfe
Remove dupe com.google.android.gms.games.APP_ID
devmiyax Feb 2, 2023
ca01772
update android.tools
devmiyax Feb 4, 2023
3117309
set version as 1.10.0
devmiyax Feb 4, 2023
d9e7813
fix audio nullopo
devmiyax Feb 4, 2023
95e3b69
Change polygon generation mode on in-game setting
devmiyax Feb 5, 2023
582fa85
force tess and compute shader for vulkan mode
devmiyax Feb 5, 2023
ecbf888
fix vdp1 clear size
devmiyax Feb 5, 2023
f56156d
set version 1.10.0
devmiyax Feb 5, 2023
6ad76e2
send err url
devmiyax Feb 7, 2023
27dd24c
simplify game status update
devmiyax Feb 7, 2023
f416939
set version 1.10.1
devmiyax Feb 7, 2023
f36f56d
rotate for screenshot
devmiyax Feb 8, 2023
08d814f
rotate nanovg
devmiyax Feb 10, 2023
77cc970
fix: Window or mode
devmiyax Feb 12, 2023
68f6570
set version 1.10.2
devmiyax Feb 12, 2023
b846089
Merge branch 'master' of gitlab.com:devMiyax/yabasanshiro into B2_1_10
devmiyax Feb 16, 2023
bc49f73
Merge pull request #996 from devmiyax/m2_1_10
devmiyax Mar 9, 2024
3936928
backup
devmiyax Feb 18, 2023
a978a23
fix conflict again
devmiyax Feb 19, 2023
aff19ec
sync backup file to cloud
devmiyax Feb 19, 2023
b8514da
sync
devmiyax Feb 19, 2023
f45d99f
set version 1.11.alpha
devmiyax Feb 19, 2023
55a1858
sync backup file to cloud
devmiyax Feb 23, 2023
d076c74
Support Sync Rendering
devmiyax Feb 26, 2023
22cd58b
[Sync Backup] may be perfect
devmiyax Feb 26, 2023
e8dcf6b
remove old data
devmiyax Mar 1, 2023
aaf3f16
add sync backup list
devmiyax Mar 2, 2023
79e82f5
[Sync Backup] may be perfect
devmiyax Mar 4, 2023
13d4e65
impement rollback
devmiyax Mar 5, 2023
87aa8e3
[Sync Backup] may be perfect
devmiyax Mar 5, 2023
ac09360
定期購入
devmiyax Mar 12, 2023
2766fc6
set version 1.11.beta
devmiyax Mar 12, 2023
4e2c374
add unit test for autobackup
devmiyax Mar 26, 2023
369a951
set version 1.11.beta2
devmiyax Mar 26, 2023
bbf7bb1
[Sync Backup] check sign in before auto sync
devmiyax Mar 31, 2023
deec847
[Sync Backup] check sign in before auto sync
devmiyax Apr 1, 2023
c74939e
set version beta3
devmiyax Apr 1, 2023
2be2971
[Sync Backup] set strings
devmiyax Apr 2, 2023
8140732
set version 1.11.0
devmiyax Apr 2, 2023
601366e
fix: street fighter alpha clear framebuffer
devmiyax May 6, 2023
fefaeec
Merge branch 'B2_1_11' of gitlab.com:devMiyax/yabasanshiro into B2_1_11
devmiyax May 6, 2023
350be2e
Merge pull request #997 from devmiyax/m2_1_11
devmiyax Mar 9, 2024
3de6440
Confrimed windows version
devmiyax Jul 17, 2022
5e8b91c
update about screen
devmiyax Jul 23, 2022
1d2fa0c
repeat key
devmiyax Jul 23, 2022
80f9c61
windows handheld
devmiyax Jul 24, 2022
e8ad45a
add common.h
devmiyax Jul 24, 2022
7add7b8
fix bin2c does not executed
devmiyax Jul 24, 2022
28edaf1
windows spec
devmiyax Jul 24, 2022
fd72fe5
add install files
devmiyax Jul 24, 2022
391aa42
fix: preference be not saved
devmiyax Jul 24, 2022
49a29be
Use GL3
devmiyax Aug 6, 2022
833bbba
Merge branch 'B2_1_9' of gitlab.com:devMiyax/yabasanshiro into WIN_RE…
devmiyax Aug 6, 2022
e0f2e5c
Ayaneo
devmiyax Aug 15, 2022
9f5402f
update how to use
devmiyax Aug 15, 2022
4273d11
no package version
devmiyax Aug 15, 2022
160513c
Use Documents folder
devmiyax Aug 15, 2022
ec67e95
Merge branch 'B2_1_9' of gitlab.com:devMiyax/yabasanshiro into WIN_RE…
devmiyax Aug 16, 2022
ae82c59
Merge branch 'B2_1_9' of gitlab.com:devMiyax/yabasanshiro into WIN_RE…
devmiyax Aug 16, 2022
d14f1e7
close windows when x is clicked
devmiyax Aug 16, 2022
5e3c630
Update Keyboard input
devmiyax Aug 16, 2022
74c9a6e
Try borderless window mode
devmiyax Aug 16, 2022
d13215e
remove SDL_WINDOW_BORDERLESS
devmiyax Aug 16, 2022
842f1ce
Manage SDL Events via EventManager
devmiyax Sep 17, 2022
3cee8fd
force use keyboard when game pad is disconnected
devmiyax Sep 17, 2022
5ed67b1
Select bios file
devmiyax Sep 17, 2022
ffedbc0
find game files recursively
devmiyax Sep 17, 2022
b7f2efc
Edit game directory
devmiyax Sep 18, 2022
42a6f02
Rollback to fullscreen
devmiyax Sep 18, 2022
243759e
analog input for menu
devmiyax Sep 18, 2022
911acd8
Merge remote-tracking branch 'origin/B2_1_9' into WIN_RETRO_ARENA
devmiyax Sep 19, 2022
c952485
ignore label
devmiyax Sep 19, 2022
728da39
increase sync count
devmiyax Sep 19, 2022
62d0b2e
Fix long time play freeze
devmiyax Sep 25, 2022
0402c39
Multi display support
devmiyax Sep 25, 2022
2918c0e
Merge branch 'B2_1_9' of gitlab.com:devMiyax/yabasanshiro into WIN_RE…
devmiyax Sep 30, 2022
fdb7fa1
Merge remote-tracking branch 'origin/B_2_2_0' into WIN_RETRO_ARENA
devmiyax Nov 28, 2022
bca93ed
boxart list
devmiyax Dec 11, 2022
ad630af
basic vulkan (nano vg does not work yet)
devmiyax Apr 10, 2023
dfc371c
vulkan nano gui
devmiyax Apr 14, 2023
8e869f9
Enable Validation layer
devmiyax Apr 15, 2023
d109e7f
validations
devmiyax Apr 15, 2023
3e61999
Merge branch 'B2_1_11' of gitlab.com:devMiyax/yabasanshiro into WIN_R…
devmiyax Apr 15, 2023
1e576f2
reduce validation error
devmiyax Apr 16, 2023
237a81c
record and play
devmiyax Apr 22, 2023
a4a33a5
fix r15 break
devmiyax Apr 22, 2023
f7346c9
add sdl window
devmiyax Apr 23, 2023
774ceba
add missing file
devmiyax Apr 23, 2023
6445d0e
Onex Player
Apr 23, 2023
17d373a
works on ONE XPLAYER
Apr 25, 2023
bab036d
convert any strings to UTF-8
devmiyax Apr 26, 2023
521fcc3
set utf8 mode
devmiyax Apr 28, 2023
85abf88
utf8 mode for windows
Apr 29, 2023
77e13b1
fix for auto testing
Apr 29, 2023
0c73f5f
test all games
May 3, 2023
9c84359
Async
May 3, 2023
c827937
Fix Nights window operation does not work
devmiyax May 5, 2023
6b98ac4
FIX: デカスリートクラッシュ
devmiyax May 5, 2023
79812f6
Enable Shader cache
devmiyax May 5, 2023
c6def82
FIX: Nights crash when loop
May 5, 2023
95507f2
Check current layout before use
May 5, 2023
9acaeb9
fix: street fighter zero
devmiyax May 5, 2023
885067c
revert dirty fix
devmiyax May 6, 2023
c6f6e45
Merge branch 'B2_1_11' of gitlab.com:devMiyax/yabasanshiro into WIN_R…
devmiyax May 6, 2023
f3bfe1f
Enable shader cache for windows
May 6, 2023
e769284
Merge branch 'B2_1_12' of gitlab.com:devMiyax/yabasanshiro into B2_1_12
May 6, 2023
848e756
set dpi for screen
May 6, 2023
8e40da6
set version 1.12.0
devmiyax May 7, 2023
1694293
wait
devmiyax May 7, 2023
ef04fb7
bundle font
devmiyax May 7, 2023
abee671
use memory font first
devmiyax May 7, 2023
83e08ea
Fix: #974 Last Bronx no color
devmiyax Jul 1, 2023
6c13a83
fix #979 Primal Rage bad charas
devmiyax Jul 2, 2023
384345f
build qt
devmiyax Jul 2, 2023
21c4472
set version 1.12.1
devmiyax Jul 2, 2023
b0ae6d8
update version
devmiyax Jul 17, 2023
89d7a15
Auto State save
devmiyax Jul 29, 2023
3a6e312
set version 1.12.3
devmiyax Jul 29, 2023
1a65fbb
Merge pull request #1006 from devmiyax/m2_1_12
devmiyax Nov 23, 2024
f58e28a
Accept multi device for one player
devmiyax Sep 27, 2023
8c2cf35
new pad 1
devmiyax Sep 27, 2023
2302f41
new on screen pad
devmiyax Oct 1, 2023
ec28a8c
set version 1.13.beta
devmiyax Oct 1, 2023
855478f
too large dead zone
devmiyax Oct 1, 2023
fca509a
update lr button
devmiyax Oct 2, 2023
9afb674
add pad position edit
devmiyax Oct 7, 2023
261495a
set version 1.13.beta2
devmiyax Oct 7, 2023
173b687
Add show/hide option for analog d-pad switch
devmiyax Oct 7, 2023
f4edfa2
fix: analog/d pad switch is not hidden
devmiyax Oct 7, 2023
4d2a373
change add button color
devmiyax Oct 7, 2023
4a40c66
update strings
devmiyax Oct 7, 2023
0dbb162
set version 1.13.0
devmiyax Oct 7, 2023
12437c0
Merge branch 'master' of github.com:devmiyax/yabause into m2_1_13
devmiyax Nov 23, 2024
e5171bd
Merge pull request #1007 from devmiyax/m2_1_13
devmiyax Nov 23, 2024
7ef5f80
サポートされていない Android の機能と権限を無効にする
devmiyax Dec 30, 2023
ff4cc4a
キーボードサポート
devmiyax Dec 30, 2023
f3022e5
PC向けの初期設定
devmiyax Dec 30, 2023
20c6ba3
set verions 1.14.alpha
devmiyax Dec 30, 2023
05bd72e
Integrate auto state save and manual state save
devmiyax Jan 3, 2024
1a62406
remove cloud state save
devmiyax Jan 3, 2024
520ae79
set version 1.14.alpha2
devmiyax Jan 3, 2024
8ee1291
ジョイスティックが認識されない問題に対応
devmiyax Jan 3, 2024
d93e8c4
Cancel auto state load
devmiyax Jan 3, 2024
2dea58c
set version 1.14.0
devmiyax Jan 5, 2024
5d4b9dc
rollback minimum version to 24
devmiyax Jan 6, 2024
59b6842
Fix: Gungriffon does not boot
devmiyax Mar 2, 2024
9cee15d
FIX: Inverted erase area on VDP1
devmiyax Mar 2, 2024
3982681
set version 1.14.2
devmiyax Mar 2, 2024
d974207
atomic mcipc
devmiyax Mar 3, 2024
542a91e
set version 1.14.3
devmiyax Mar 3, 2024
9166987
boot from Daijishou
devmiyax Mar 16, 2024
ea555b3
set version 1.14.4
devmiyax Mar 16, 2024
97b9fd1
set version 1.14.5
devmiyax Mar 17, 2024
61d37c0
only export pro version
devmiyax Mar 17, 2024
e7adff6
Fix: #998 Fail: createComputePipelines with eErrorUnkown
devmiyax Apr 21, 2024
d5bebef
set version 1.14.6
devmiyax Apr 21, 2024
5416044
Add Network status check
devmiyax Apr 29, 2024
e9bcd87
set version 1.14.7
devmiyax Apr 29, 2024
f132fa5
Show error message when fail to open file
devmiyax May 3, 2024
79ad953
set version 1.14.7
devmiyax May 3, 2024
c7f06cc
add more error messages
devmiyax May 3, 2024
61d1eac
fix french
devmiyax May 3, 2024
11a2c4c
increase user experience on AndroidTV
devmiyax May 4, 2024
0bf63f8
increase version code
devmiyax May 4, 2024
54d289d
no mouse
devmiyax May 4, 2024
13f7087
increase version code
devmiyax May 6, 2024
24e4753
fix rotate screen Virtualon
devmiyax May 11, 2024
f0e9904
set version 1.14.9
devmiyax May 11, 2024
7a7287a
Merge pull request #1008 from devmiyax/m2_1_14
devmiyax Nov 23, 2024
00c0795
ios
devmiyax Jul 31, 2022
8d655a3
Merge branch 'B2_1_9' of gitlab.com:devMiyax/yabasanshiro into ios_B2…
devmiyax Aug 6, 2022
92368f5
reduce cpu usage
devmiyax Aug 11, 2022
7c8a82c
confrim iOS build
devmiyax Aug 19, 2022
ccb3d54
Merge branch 'B2_1_9' of gitlab.com:devMiyax/yabasanshiro into ios_B2…
devmiyax Sep 30, 2022
37ed315
Merge branch 'B2_1_14' into 'master'
devmiyax Mar 30, 2024
18eef54
First release
devmiyax Apr 12, 2024
41ab157
add new toolchain file
devmiyax Apr 12, 2024
d4fa81d
use metalangle
devmiyax Apr 13, 2024
04fc197
add build dir
devmiyax Apr 13, 2024
9eae115
set minimum version 17
devmiyax Apr 13, 2024
fe7887d
safe area
devmiyax Apr 13, 2024
86b91c8
keep original viewport position
devmiyax Apr 13, 2024
a7603fa
add privacy manifest
devmiyax Apr 13, 2024
0ca4b48
Add firebase crashlitics
devmiyax Apr 18, 2024
4ec59a3
1.9.3(14)
devmiyax May 1, 2024
3037fa6
Merge branch 'B2_1_14' into 'master'
devmiyax May 18, 2024
258d3a3
add game title
devmiyax Nov 23, 2024
368d391
side menu
devmiyax Nov 23, 2024
f789a0e
File Select Dialog
devmiyax Jul 25, 2024
cf0c177
remove unnesseary printf
devmiyax Jul 28, 2024
0e4adab
File search
devmiyax Jul 28, 2024
191c414
land scape mode
devmiyax Aug 3, 2024
fe3059f
ui improvement
devmiyax Aug 3, 2024
7337f56
set version 1.9.6(16)
devmiyax Aug 3, 2024
67c09d6
use displayName to calculate hight
devmiyax Aug 3, 2024
e28152d
support simulator of MetalANGLE
devmiyax Aug 4, 2024
9e70d60
remove objective-c files
devmiyax Aug 4, 2024
0a548b1
fix build error on iOS
devmiyax Aug 8, 2024
037592f
set version 1.15.0
devmiyax Aug 8, 2024
d63bd69
Resolve "CUE,CHD,MDF Support"
devmiyax Aug 11, 2024
fe00365
1.15.2
devmiyax Aug 17, 2024
1ef9e60
Resolve "多言語対応"
devmiyax Aug 18, 2024
c964fce
fix memory leak
devmiyax Aug 19, 2024
e4a7a6a
Add Analogmode and some clean up
devmiyax Aug 19, 2024
e3db51f
take screenshot with fastlane
devmiyax Aug 24, 2024
6c40f40
CICD
devmiyax Aug 31, 2024
0904017
Merge branch 'B_1_15_IOS_CICD' into 'B_1_15_IOS'
devmiyax Aug 31, 2024
2e63c82
fix ui
devmiyax Sep 8, 2024
9207271
localizetion
devmiyax Sep 8, 2024
a2e8541
missing file
devmiyax Sep 8, 2024
38089b5
set version 1.15.5
devmiyax Sep 8, 2024
56c5682
fix access violation
devmiyax Sep 8, 2024
e0a55a1
support game mode iOS18
devmiyax Sep 29, 2024
bf5e831
Merge branch 'B2_1_16' of gitlab.com:devMiyax/yabasanshiro into B_1_1…
devmiyax Oct 30, 2024
c8e459a
fix: freeze on Android version
devmiyax Oct 30, 2024
42dd323
use new scsp
devmiyax Oct 30, 2024
ae1bcab
build for ios
devmiyax Oct 30, 2024
805a897
set version 1.16.2
devmiyax Oct 30, 2024
595e9c0
build for lite version
devmiyax Oct 30, 2024
d57ed69
test11
devmiyax Oct 31, 2024
5b53852
set version 1.16.2
devmiyax Oct 31, 2024
3ffb3c0
Update external_libchdr.cmake
devmiyax Oct 31, 2024
b122cf1
Update external_libchdr.cmake
devmiyax Oct 31, 2024
4909d50
Windows version QT6 VS 2022
devmiyax Nov 21, 2024
70fb73d
Disable Debug layer
devmiyax Nov 22, 2024
5b258d2
fix: crash when setting is changed
devmiyax Nov 22, 2024
6992e55
Fix heap breaker
devmiyax Nov 22, 2024
b6f324c
fix: crash on repoen
devmiyax Nov 22, 2024
938d4e3
Qt6vs2022
devmiyax Nov 23, 2024
bfbe7b7
Merge pull request #1009 from devmiyax/m2_1_16
devmiyax Nov 23, 2024
2cb47aa
Merge branch 'qt6vs2022' into 'B2_1_16'
devmiyax Nov 23, 2024
7d28bd5
Merge pull request #1010 from devmiyax/m2_1_16
devmiyax Nov 23, 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
  •  
  •  
  •  
4 changes: 4 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# These are supported funding model platforms

github: devmiyax
liberapay: devmiyax
20 changes: 20 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
yabause/src/android/res/values/security.xml
/.gradle/
/local.properties
.DS_Store
*.iml
build/
/*build/
**/*build/*
*.a
*.so
*.swp
yabause/*build*/*
yabause/ax86_64/*
yabause/src/qt/firebase_cpp_sdk/*
yabause/src/android/.settings/*
yabause/src/android/app/.settings/*
build*/
yabause/src/ios/uoyabause/secrets.plist
**/Pods/*

6 changes: 6 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[submodule "ext/eigen"]
path = yabause/src/retro_arena/nanogui-sdl/ext/eigen
url = https://github.com/libigl/eigen.git
[submodule "yabause/src/android/oboe"]
path = yabause/src/android/oboe
url = https://github.com/google/oboe
236 changes: 126 additions & 110 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,122 +1,138 @@
language: cpp
dist: bionic
#sudo: false
#cache:
# apt: true
env:
global:
- GLOBAL=1

matrix:
include:

# linux gcc
- compiler: gcc
env: testenv="linux gcc"

# linux clang
- compiler: clang
env: testenv="linux clang"

# os x cocoa port
- language: objective-c
env: testenv="os x cocoa port"
os: osx
compiler: clang
before_script:
- cd ../src

# enable cmake to find x11 and xrandr
- echo 'INCLUDE_DIRECTORIES("/opt/X11/include")' > temp.txt
- echo 'LINK_DIRECTORIES("/opt/X11/lib")' >> temp.txt
- cat temp.txt CMakeLists.txt > temp2.txt
- rm CMakeLists.txt
- mv temp2.txt CMakeLists.txt
- cd ../build
script:
- cmake -DCMAKE_BUILD_TYPE=Release ..
- make
after_success:
- cpack -G ZIP -D CPACK_PACKAGE_FILE_NAME=yabause-${GIT_HASH}-mac
#- curl --ftp-create-dirs -T yabause-${GIT_HASH}-mac.zip -u $YABUSR:$YABPAS ftp://ftp.tuxfamily.org/yabause/yabause-repository/releases/travis-ci/yabause-${GIT_HASH}-mac.zip
- curl --ftp-create-dirs -T yabause-${GIT_HASH}-mac.zip -u $YABUSR:$YABPAS ftp://ftp.tuxfamily.org/yabause/yabause-repository/releases/travis-ci/yabause-latest-mac.zip

# mingw-w64 windows cross compile, libyabause only
# needs qt and other deps built
- compiler: gcc
env: testenv="mingw-w64 windows cross compile, libyabause only"
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-mingw-w64-x86-64
- g++-mingw-w64-x86-64
- binutils-mingw-w64-x86-64
- mingw-w64-dev
script:
# create toolchain file so we can cross compile
- echo 'SET(CMAKE_SYSTEM_NAME Windows)' > toolchain.cmake
- echo 'SET(CMAKE_C_COMPILER x86_64-w64-mingw32-gcc)' >> toolchain.cmake
- echo 'SET(CMAKE_CXX_COMPILER x86_64-w64-mingw32-g++)' >> toolchain.cmake
- echo 'SET(CMAKE_RC_COMPILER x86_64-w64-mingw32-windres)' >> toolchain.cmake
- cmake -DCMAKE_TOOLCHAIN_FILE=toolchain.cmake -DYAB_PORTS= ..
- make
after_success:
#- cpack -G ZIP -D CPACK_PACKAGE_FILE_NAME=yabause-${GIT_HASH}-win64
#- curl --ftp-create-dirs -T yabause-${GIT_HASH}-win64.zip -u $YABUSR:$YABPAS ftp://ftp.tuxfamily.org/yabause/yabause-repository/releases/travis-ci/yabause-${GIT_HASH}-win64.zip

# android port
- compiler: gcc
env: testenv="android port"
language: android
android:
components:
- gcc-5
- g++-5
- libegl1-mesa-dev
- libgles2-mesa-dev
- libsdl2-dev
- libcurl4-openssl-dev
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libegl1-mesa-dev
- libgles2-mesa-dev
- libsdl2-dev
- libcurl4-openssl-dev
- libboost-dev
- libboost-system-dev
- libboost-filesystem-dev
- libboost-date-time-dev
- libboost-locale-dev
- platform-tools
- tools
script:
- wget http://dl.google.com/android/repository/android-ndk-r11c-linux-x86_64.zip
- unzip -q android-ndk-r11c-linux-x86_64.zip

- export PATH=${PATH}:$(pwd)/android-ndk-r11c/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/
- export NDK=$(pwd)/android-ndk-r11c/
- export SYSROOT=$NDK/platforms/android-24/arch-arm

- echo 'SET(CMAKE_SYSTEM_NAME Linux)' > toolchain.cmake
- echo 'SET(CMAKE_SYSTEM_VERSION 1)' >> toolchain.cmake
- echo 'SET(CMAKE_C_COMPILER arm-linux-androideabi-gcc)' >> toolchain.cmake
- echo 'SET(CMAKE_CXX_COMPILER arm-linux-androideabi-g++)' >> toolchain.cmake
- echo 'SET(CMAKE_ASM-ATT_COMPILER arm-linux-androideabi-as)' >> toolchain.cmake
- echo 'set(CMAKE_C_FLAGS "--sysroot=$ENV{SYSROOT}/usr/" CACHE STRING "GCC flags" FORCE)' >> toolchain.cmake
- echo 'set(CMAKE_CXX_FLAGS "--sysroot=$ENV{SYSROOT}/usr/" CACHE STRING "G++ flags" FORCE)' >> toolchain.cmake
- echo 'SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)' >> toolchain.cmake
- echo 'SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)' >> toolchain.cmake
- echo 'SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)' >> toolchain.cmake
- echo 'SET(ANDROID ON)' >> toolchain.cmake
- cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_FIND_ROOT_PATH=$SYSROOT/usr/ -DNDK_BUILD=$NDK/build/ndk-build -DSDK_ANDROID=$ANDROID_HOME/tools/android -DSH2_DYNAREC=OFF -DCMAKE_TOOLCHAIN_FILE=toolchain.cmake -DYAB_PORTS=android ..
- make

after_success:
#- curl --ftp-create-dirs -T ./src/android/bin/Yabause-debug.apk -u $YABUSR:$YABPAS ftp://ftp.tuxfamily.org/yabause/yabause-repository/releases/travis-ci/yabause-${GIT_HASH}-android.apk
- curl --ftp-create-dirs -T ./src/android/bin/Yabause-debug.apk -u $YABUSR:$YABPAS ftp://ftp.tuxfamily.org/yabause/yabause-repository/releases/travis-ci/yabause-latest-android.apk

addons:
coverity_scan:
project:
name: "Yabause/yabause"
description: "Build submitted via Travis CI"
notification_email: guillaume.duhamel@gmail.com
build_command_prepend: "cmake ..;"
build_command: "make"
branch_pattern: coverity_scan

env:
global:
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
# via the "travis encrypt" command using the project repo's public key
- secure: "sopS90ts/MzipWazyLIeLtDkSWZyV9HeMfR8mIglxWuo76T/mOCT0m4fFPRQeJ1OHO3hWMbpYzKt357B/gwcpbq1/MTm6l+mhkxTKGBmrLpT9bz3GfQcQG3UgtOBp5bgUFc0xB2geN5BYrNCiKExmuMqTFByMKvIjiRWzwiCJflc74iNHTzS4j3y/wfRypnhJ8HIyU9YSwB43QzvtvmwgHRNcQ8Z7Hsto4qs4anEM4fnKWD5yyD+sFFnZIaCtDLXcKAi8HY0ILf2jxO5SLxzv0R9tyBkbXLaaSVfHWR3NOFMJtT4vq1v+XzcD2p1c9PxsxmIsOK2TLpYEx7sCmddO5zSs884turwu1ZDT/1pUQODSaxVpCRlE+NVDoUl6tqa3DGW1rIxzp/NjRzo4WEP2+fAvPVQSKG8l7GuHhgY1m8D0lHesaNXFr6D6hiKDEmMc1/nVKW8ohMPQxC1/g7tfM61zCkDcwc5CEtB6lNxEr3Db1M1u7X0pOCbPTgt0mNJcpGlNNDRnjh4gb+gXmFMAsJKTSy4/i4ExhMvTQqUp9LA7Bu0SdCT74rH5wS2oPw65aiijFDdaItk1ZapASphwzVV4IoKMQ7/6ZWEHccLZQ63a4hSSFD0upn5qcAhGlZwdUc4wYRFayUo5pzxYbui9Zlv/XxYEC5K8vI4EunmcBw="

language: cpp
- build-tools-26.0.1
- android-26
- extra-google-m2repository
- extra-android-m2repository
before_install:
- cd $HOME
- rm -fr $HOME/android-ndk-r16b
- curl -L http://dl.google.com/android/repository/android-ndk-r13b-linux-x86_64.zip -O
- unzip -oq android-ndk-r13b-linux-x86_64.zip
- rm android-ndk-r13b-linux-x86_64.zip

env:
- MATRIX_EVAL="CC=gcc && CXX=g++"
- chmod 755 ./gradlew
- ./gradlew assembleDebug

# - language: android
# env:
# - ANDROID_NDK=$HOME/android-ndk-r13b
# android:
# components:
# - tools
# - platform-tools
# - build-tools-26.0.2
# - android-26
# - extra-google-m2repository
# - extra-android-m2repository
# before_install:
# - cd $HOME
# - rm -fr $HOME/android-ndk-r16b
# - curl -L http://dl.google.com/android/repository/android-ndk-r13b-linux-x86_64.zip -O
# - unzip -oq android-ndk-r13b-linux-x86_64.zip
# - rm android-ndk-r13b-linux-x86_64.zip
# script:
# - cd ${TRAVIS_BUILD_DIR}/yabause
# - mkdir build
# - cd build
# - cmake ../ -DCMAKE_TOOLCHAIN_FILE=../src/android/android.toolchain.cmake -DANDROID_ABI="armeabi-v7a with NEON" -DANDROID_NATIVE_API_LEVEL=19 -DYAB_PORTS=android -DYAB_WANT_ARM7=TRUE -DYAB_WANT_C68K=FALSE -DYAB_WANT_DYNAREC_DEVMIYAX=TRUE
# - make VERBOSE=1
# - cd ../src/android
# - chmod 755 ./gradlew
# - ./gradlew assembleDebug

before_install:
- eval "${MATRIX_EVAL}"
- sudo apt-get update -y
- sudo apt install -y libegl1-mesa-dev
- sudo apt install -y libgles2-mesa-dev
- sudo apt install -y libsdl2-dev
- sudo apt install -y libcurl4-openssl-dev
- sudo apt install -y libboost-dev
- sudo apt install -y libboost-system-dev
- sudo apt install -y libboost-filesystem-dev
- sudo apt install -y libboost-date-time-dev
- sudo apt install -y libboost-locale-dev

install:
# Set the ${CXX} variable properly
#- export CXX=${COMPILER}
# - ${CXX} --version

sudo: false
# Dependencies required by the CI are installed in ${TRAVIS_BUILD_DIR}/deps/
- DEPS_DIR="${TRAVIS_BUILD_DIR}/deps"
- mkdir -p "${DEPS_DIR}"
- cd "${DEPS_DIR}"

before_install:
# only build the first port if running a coverity scan. otherwise coverity will attempt to analyze all the builds
- if ([[ "${TRAVIS_JOB_NUMBER##*.}" != "1" ]] && [[ "${TRAVIS_BRANCH}" == "coverity_scan" ]]); then false ; fi
- cd yabause
# Travis machines have 2 cores
- JOBS=2

############################################################################
# Install a recent CMake (unless already installed on OS X)
############################################################################
#- CMAKE_VERSION=3.9.6
#- |
# if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then
# CMAKE_URL="https://cmake.org/files/v${CMAKE_VERSION%.[0-9]}/cmake-${CMAKE_VERSION}-Linux-x86_64.tar.gz"
# mkdir cmake && travis_retry wget --no-check-certificate -O - ${CMAKE_URL} | tar --strip-components=1 -xz -C cmake
# export PATH=${DEPS_DIR}/cmake/bin:${PATH}
# else
# brew install cmake || brew upgrade cmake
# fi
#- cmake --version

script:
- cd ${TRAVIS_BUILD_DIR}/yabause
- mkdir build
- cd build
- export GIT_HASH=$(git rev-parse --short HEAD)
- cmake .. -DYAB_PORTS=retro_arena -DYAB_WANT_C68K=FALSE -DSH2_DYNAREC=FALSE -DYAB_WANT_DYNAREC_DEVMIYAX=OFF -DCMAKE_TOOLCHAIN_FILE=../src/retro_arena/pc.cmake
- make VERBOSE=1

script:
- cmake -DYAB_WERROR=ON -DYAB_FORCE_SECURE_STRINGS=ON ..
- make
notifications:
email: false

- cpack

notifications:
email: false


10 changes: 10 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
pipeline {
agent any
stages {
stage('build') {
steps {
echo 'Hello'
}
}
}
}
Loading