Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
SRB2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
STJr
SRB2
Commits
e8cce0af
Commit
e8cce0af
authored
8 years ago
by
Alam Ed Arias
Browse files
Options
Downloads
Patches
Plain Diff
appveyor: download and install nasm and upx, also debug ccache
parent
6064da93
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
appveyor.yml
+21
-3
21 additions, 3 deletions
appveyor.yml
with
21 additions
and
3 deletions
appveyor.yml
+
21
−
3
View file @
e8cce0af
...
...
@@ -7,15 +7,31 @@ environment:
WINDRES
:
windres
MINGW_SDK
:
c:\msys64\mingw32
CFLAGS
:
-Wall -W -Werror
NASM_ZIP
:
nasm-2.12.01
NASM_URL
:
http://www.nasm.us/pub/nasm/releasebuilds/2.12.01/win64/nasm-2.12.01-win64.zip
UPX_ZIP
:
upx391w
UPX_URL
:
http://upx.sourceforge.net/download/upx391w.zip
CCACHE_EXE
:
ccache.exe
CCACHE_URL
:
http://alam.srb2.org/ccache.exe
CCACHE_COMPRESS
:
true
CCACHE_DIR
:
C:\Users\appveyor\.ccache
CCACHE_LOGFILE
:
C:\Users\appveyor\ccache.log
cache
:
-
nasm-2.12.01.zip
-
upx391w.zip
-
ccache.exe
-
C:\Users\appveyor\
AppData\Roaming\
.ccache
-
C:\Users\appveyor\.ccache
install
:
-
if not exist "%NASM_ZIP%.zip" appveyor DownloadFile "%NASM_URL%" -FileName "%NASM_ZIP%.zip"
-
7z x -y "%NASM_ZIP%" -o%TMP% >null
-
robocopy /S /xx /ns /nc /nfl /ndl /np /njh /njs %TMP%\%NASM_ZIP% %MINGW_SDK% nasm.exe || exit
0
-
if not exist "%UPX_ZIP%.zip" appveyor DownloadFile "%UPX_URL%" -FileName "%UPX_ZIP%.zip"
-
7z x -y "%UPX_ZIP%" -o%TMP% >null
-
robocopy /S /xx /ns /nc /nfl /ndl /np /njh /njs %TMP%\%UPX_ZIP% %MINGW_SDK% upx.exe || exit
0
-
if not exist "%CCACHE_EXE%" appveyor DownloadFile "%CCACHE_URL%" -FileName "%CCACHE_EXE%"
-
ccache -M 99M
-
xcopy /Y /V /I ccache.exe %MINGW_SDK%\bin
...
...
@@ -24,13 +40,14 @@ configuration:
-
SDL
-
DD
before_build
:
-
set Path=%MINGW_SDK%\bin;%Path%
-
i686-w64-mingw32-gcc --version
-
mingw32-make --version
-
upx -V
-
nasm -v
-
ccache -s
-
set SRB2_MFLAGS=-C src MINGW=1 WARNINGMODE=1
NOASM=1 NOUPX=1 GCC53
=1
-
set SRB2_MFLAGS=-C src MINGW=1 WARNINGMODE=1
GCC53=1 ECHO
=1
build_script
:
-
cmd
:
mingw32-make.exe %SRB2_MFLAGS% %CONFIGURATION%=1 clean
...
...
@@ -43,6 +60,7 @@ after_build:
-
set BUILD_ARCHIVE=%APPVEYOR_REPO_BRANCH%-%GITSHORT%-%CONFIGURATION%.7z
-
cmd
:
7z a %BUILD_ARCHIVE% bin\Mingw\Release -xr!.gitignore
-
appveyor PushArtifact %BUILD_ARCHIVE%
-
type C:\Users\appveyor\ccache.log
test
:
off
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment