File tree Expand file tree Collapse file tree 6 files changed +10
-8
lines changed Expand file tree Collapse file tree 6 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 40
40
# Windows MSVC tests
41
41
- name : App Test
42
42
# Run app test
43
- run : ${{github.workspace}}/build/asar-tests/${{env.BUILD_TYPE}}/asar-app-test.exe ${{github.workspace}}/build/asar/${{env.BUILD_TYPE}}/asar-standalone .exe "${{github.workspace}}/tests" "${{github.workspace}}/dummy_rom.sfc" ${{github.workspace}}/build/temp
43
+ run : ${{github.workspace}}/build/asar-tests/${{env.BUILD_TYPE}}/asar-app-test.exe ${{github.workspace}}/build/asar/${{env.BUILD_TYPE}}/asar.exe "${{github.workspace}}/tests" "${{github.workspace}}/dummy_rom.sfc" ${{github.workspace}}/build/temp
44
44
if : ${{ contains(matrix.config, 'msvc') }}
45
45
46
46
- name : DLL Test
51
51
# Tests for other platforms
52
52
- name : App Test
53
53
# Run app test
54
- run : ${{github.workspace}}/build/asar-tests/asar-app-test ${{github.workspace}}/build/asar/asar-standalone "${{github.workspace}}/tests" "${{github.workspace}}/dummy_rom.sfc" ${{github.workspace}}/build/temp
54
+ run : ${{github.workspace}}/build/asar-tests/asar-app-test ${{github.workspace}}/build/asar/asar "${{github.workspace}}/tests" "${{github.workspace}}/dummy_rom.sfc" ${{github.workspace}}/build/temp
55
55
if : ${{ !contains(matrix.config, 'msvc') }}
56
56
57
57
- name : DLL Test
Original file line number Diff line number Diff line change 47
47
verbosity : minimal
48
48
49
49
artifacts :
50
- - path : build\asar\**\asar-standalone .exe
50
+ - path : build\asar\**\asar.exe
51
51
- path : build\asar\**\*asar.dll
52
52
53
53
configuration : MinSizeRel
@@ -57,7 +57,7 @@ test_script:
57
57
- cmd : >-
58
58
asar-tests\%CONFIGURATION%\asar-dll-test.exe %APPVEYOR_BUILD_FOLDER%\build\asar\%CONFIGURATION%\asar.dll %APPVEYOR_BUILD_FOLDER%\tests ..\dummy_rom.sfc %APPVEYOR_BUILD_FOLDER%\tests_tmp_dll
59
59
60
- asar-tests\%CONFIGURATION%\asar-app-test.exe asar\%CONFIGURATION%\asar-standalone .exe %APPVEYOR_BUILD_FOLDER%\tests ..\dummy_rom.sfc %APPVEYOR_BUILD_FOLDER%\tests_tmp_app
60
+ asar-tests\%CONFIGURATION%\asar-app-test.exe asar\%CONFIGURATION%\asar.exe %APPVEYOR_BUILD_FOLDER%\tests ..\dummy_rom.sfc %APPVEYOR_BUILD_FOLDER%\tests_tmp_app
61
61
62
62
deploy :
63
63
provider : FTP
86
86
- cmd : >-
87
87
asar-tests\asar-dll-test.exe %APPVEYOR_BUILD_FOLDER%\build\asar\libasar.dll %APPVEYOR_BUILD_FOLDER%\tests ..\dummy_rom.sfc %APPVEYOR_BUILD_FOLDER%\tests_tmp_dll
88
88
89
- asar-tests\asar-app-test.exe asar\asar-standalone .exe %APPVEYOR_BUILD_FOLDER%\tests ..\dummy_rom.sfc %APPVEYOR_BUILD_FOLDER%\tests_tmp_app
89
+ asar-tests\asar-app-test.exe asar\asar.exe %APPVEYOR_BUILD_FOLDER%\tests ..\dummy_rom.sfc %APPVEYOR_BUILD_FOLDER%\tests_tmp_app
Original file line number Diff line number Diff line change 10
10
zipf = zipfile .ZipFile ("asar" + sys .argv [1 ]+ ".zip" , 'x' , compression = zipfile .ZIP_DEFLATED )
11
11
12
12
build_server_prefix = "https://random.muncher.se/ftp/asar/windows/xp_compat/build/asar/MinSizeRel/"
13
- with urllib .request .urlopen (build_server_prefix + "asar-standalone .exe" ) as resp :
13
+ with urllib .request .urlopen (build_server_prefix + "asar.exe" ) as resp :
14
14
exe_data = resp .read ()
15
15
with urllib .request .urlopen (build_server_prefix + "asar.dll" ) as resp :
16
16
dll_data = resp .read ()
Original file line number Diff line number Diff line change @@ -3,5 +3,5 @@ set ABS=%ABS:~0,-1%
3
3
set CONFIG = Release
4
4
mkdir tests_tmp_dll tests_tmp_app
5
5
%ABS% \asar-tests\%CONFIG% \asar-dll-test.exe %ABS% \asar\%CONFIG% \asar.dll %ABS% \tests %ABS% \dummy_rom.sfc %ABS% \tests_tmp_dll
6
- %ABS% \asar-tests\%CONFIG% \asar-app-test.exe %ABS% \asar\%CONFIG% \asar-standalone .exe %ABS% \tests %ABS% \dummy_rom.sfc %ABS% \tests_tmp_app
6
+ %ABS% \asar-tests\%CONFIG% \asar-app-test.exe %ABS% \asar\%CONFIG% \asar.exe %ABS% \tests %ABS% \dummy_rom.sfc %ABS% \tests_tmp_app
7
7
@ pause
Original file line number Diff line number Diff line change 1
1
ABS=$( pwd)
2
2
mkdir tests_tmp_dll tests_tmp_app
3
3
$ABS /asar-tests/asar-dll-test $ABS /asar/libasar.so $ABS /tests $ABS /dummy_rom.sfc $ABS /tests_tmp_dll
4
- $ABS /asar-tests/asar-app-test $ABS /asar/asar-standalone $ABS /tests $ABS /dummy_rom.sfc $ABS /tests_tmp_app
4
+ $ABS /asar-tests/asar-app-test $ABS /asar/asar $ABS /tests $ABS /dummy_rom.sfc $ABS /tests_tmp_app
Original file line number Diff line number Diff line change @@ -207,6 +207,8 @@ if(ASAR_GEN_EXE)
207
207
target_compile_options (asar-standalone PRIVATE -fprofile-arcs -ftest-coverage)
208
208
SET (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -lgcov --coverage -fprofile-arcs" )
209
209
endif ()
210
+
211
+ set_target_properties (asar-standalone PROPERTIES OUTPUT_NAME "asar" )
210
212
endif (ASAR_GEN_EXE)
211
213
212
214
You can’t perform that action at this time.
0 commit comments