Skip to content

Commit 47ac552

Browse files
committed
Fix Windows CI
1 parent bde65c8 commit 47ac552

File tree

2 files changed

+58
-29
lines changed

2 files changed

+58
-29
lines changed

.appveyor.yml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
environment:
2+
SDL2_VERSION: 2.0.9
3+
MINGW_SHELL: C:\MinGW\msys\1.0\bin\bash
4+
5+
matrix:
6+
- MACEMU_PROJECT: BasiliskII
7+
MACEMU_OS: Unix
8+
- MACEMU_PROJECT: SheepShaver
9+
MACEMU_OS: Windows
10+
11+
12+
build: off
13+
14+
install:
15+
- set PATH=C:\cygwin\bin;C:\cygwin64\bin;%PATH%
16+
- '%CYG_ROOT%\setup-%CYG_ARCH%.exe -qnNdO -R %CYG_ROOT%
17+
-l %CYG_ROOT%/var/cache/setup
18+
-P autoconf
19+
-P automake
20+
-P bison
21+
-P curl
22+
-P gcc-core
23+
-P gcc-g++
24+
-P gettext
25+
-P gettext-devel
26+
-P git
27+
-P intltool
28+
-P libgmp-devel
29+
-P libiconv
30+
-P libncurses-devel
31+
-P libreadline-devel
32+
-P libtool
33+
-P make
34+
-P mingw-binutils
35+
-P mingw-gcc-core
36+
-P mingw-gcc-g++
37+
-P mingw-pthreads
38+
-P mingw-runtime
39+
-P mingw-w32api
40+
-P pkg-config
41+
-P wget'
42+
- IF NOT EXIST %APPVEYOR_BUILD_FOLDER%\SDL2-%SDL2_VERSION%.zip appveyor DownloadFile http://libsdl.org/release/SDL2-%SDL2_VERSION%.zip
43+
- unzip -o SDL2-%SDL2_VERSION%.zip
44+
- ren SDL2-%SDL2_VERSION% my_SDL2
45+
- '%MINGW_SHELL% -c "export PATH=.:/usr/local/bin:/mingw/bin:/bin:$PATH && cd my_SDL2 && ./autogen.sh && ./configure --disable-shared && make && make install"'
46+
47+
48+
test_script:
49+
- ps: $ProgressPreference = "SilentlyContinue"
50+
- 'echo %MACEMU_PROJECT%'
51+
- 'cd %MACEMU_PROJECT%'
52+
- ps: ($env:MACEMU_PROJECT -eq "SheepShaver") -and $(make links)
53+
- 'cd src/%MACEMU_OS%'
54+
- '%MINGW_SHELL% -c "export PATH=.:/usr/local/bin:/mingw/bin:/bin:$PATH && NO_CONFIGURE=1 ./autogen.sh && ./configure && make"'
55+
56+
57+
# on_finish:
58+
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))

appveyor.yml

Lines changed: 0 additions & 29 deletions
This file was deleted.

0 commit comments

Comments
 (0)