Upoloading open source test games
This commit is contained in:
parent
0766979902
commit
7530b51ab0
|
@ -20,7 +20,7 @@ jobs:
|
||||||
- name: Installing meson and ninja
|
- name: Installing meson and ninja
|
||||||
run: python3 -m pip install meson ninja
|
run: python3 -m pip install meson ninja
|
||||||
- name: Run meson configuration
|
- name: Run meson configuration
|
||||||
run: meson setup build
|
run: meson setup build -DonlyOpenSource=true
|
||||||
- name: Building project
|
- name: Building project
|
||||||
run: ninja -C build
|
run: ninja -C build
|
||||||
- name: Running tests
|
- name: Running tests
|
||||||
|
|
|
@ -5,6 +5,13 @@ option('buildPlayer',
|
||||||
yield: true
|
yield: true
|
||||||
)
|
)
|
||||||
|
|
||||||
|
option('onlyOpenSource',
|
||||||
|
type : 'boolean',
|
||||||
|
value : false,
|
||||||
|
description : 'Test using only open source games (for cloud CI)',
|
||||||
|
yield: true
|
||||||
|
)
|
||||||
|
|
||||||
option('CPUFunctionAlignment',
|
option('CPUFunctionAlignment',
|
||||||
type : 'integer',
|
type : 'integer',
|
||||||
min : 1,
|
min : 1,
|
||||||
|
|
|
@ -4,6 +4,8 @@ bash = find_program('bash')
|
||||||
testCommands = ['../run_test.sh', quickerNESTester.path(), quickNESTester.path() ]
|
testCommands = ['../run_test.sh', quickerNESTester.path(), quickNESTester.path() ]
|
||||||
testTimeout = 120
|
testTimeout = 120
|
||||||
|
|
||||||
|
if get_option('onlyOpenSource') == false
|
||||||
|
|
||||||
subdir('arkanoid')
|
subdir('arkanoid')
|
||||||
subdir('castlevania1')
|
subdir('castlevania1')
|
||||||
subdir('superOffroad')
|
subdir('superOffroad')
|
||||||
|
@ -20,3 +22,9 @@ subdir('saintSeiyaKanketsuHen')
|
||||||
subdir('superMarioBros')
|
subdir('superMarioBros')
|
||||||
subdir('superMarioBros3')
|
subdir('superMarioBros3')
|
||||||
subdir('saiyuukiWorld')
|
subdir('saiyuukiWorld')
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
||||||
|
# Open source games
|
||||||
|
subdir('sprilo')
|
||||||
|
subdir('novaTheSquirrel')
|
|
@ -0,0 +1,7 @@
|
||||||
|
Nova The Squirrel is a open-source free game. This rom was obtained from
|
||||||
|
https://github.com/NovaSquirrel/NovaTheSquirrel
|
||||||
|
https://novasquirrel.itch.io/nova-the-squirrel
|
||||||
|
|
||||||
|
We use the movie https://tasvideos.org/5246M by Cephla distributed under the CC2.0 license
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"Rom File": "nova.nes",
|
||||||
|
"Expected ROM SHA1": "B6B07EE76492ED475F39167C89B342353F999231",
|
||||||
|
"Initial State File": "",
|
||||||
|
"Sequence File": "anyPercent.sol"
|
||||||
|
}
|
|
@ -0,0 +1,4 @@
|
||||||
|
game = 'novaTheSquirrel'
|
||||||
|
|
||||||
|
goal = 'anyPercent'
|
||||||
|
test(goal, bash, workdir : meson.current_source_dir(), timeout: testTimeout, args : [ testCommands, goal + '.test', '--cycleType', 'Full'], suite: [ game, goal ] )
|
Binary file not shown.
|
@ -0,0 +1,7 @@
|
||||||
|
Sprilo is a open-source free game. This rom was obtained from
|
||||||
|
https://itch.io/jam/game-off-2017
|
||||||
|
https://github.com/cbrwn/gameoff
|
||||||
|
|
||||||
|
We use the movie https://tasvideos.org/3557G by MrTASer distributed under the CC2.0 license
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"Rom File": "sprilo.nes",
|
||||||
|
"Expected ROM SHA1": "6EC09B9B51320A536A786D3D4719432B714C5779",
|
||||||
|
"Initial State File": "",
|
||||||
|
"Sequence File": "anyPercent.sol"
|
||||||
|
}
|
|
@ -0,0 +1,4 @@
|
||||||
|
game = 'sprilo'
|
||||||
|
|
||||||
|
goal = 'anyPercent'
|
||||||
|
test(goal, bash, workdir : meson.current_source_dir(), timeout: testTimeout, args : [ testCommands, goal + '.test', '--cycleType', 'Full'], suite: [ game, goal ] )
|
Binary file not shown.
Loading…
Reference in New Issue