Skip to content

Commit

Permalink
add configuration and platform like in upstream, but build_script is …
Browse files Browse the repository at this point in the history
…still peculiar. Part 2
  • Loading branch information
q4a committed May 27, 2018
1 parent 75f1ac2 commit 6189ed7
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ environment:
#- cmd: .appveyor\install-lua.cmd

build_script:
- git submodule update --init --recursive
- if [%BUILDSYSTEM%]==[MSVC] git submodule update --init --recursive
- if [%BUILDSYSTEM%]==[MinGW] if [%PLATFORM%]==[x86] if [%CONFIGURATION%]==[Debug] (
git submodule update --init --recursive
)

# Remove sh.exe from the path otherwise CMake will complain:
# "sh.exe was found in your PATH, here: C:/Program Files/Git/usr/bin/sh.exe"
Expand All @@ -30,7 +33,7 @@ build_script:
- if [%BUILDSYSTEM%]==[MinGW] SET "PATH=C:\MinGW-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\MinGW64\bin;%PATH%"

- ECHO %PATH%
- if [%BUILDSYSTEM%]==[MinGW] && [%PLATFORM%] = [x86] && [%CONFIGURATION%] = [Debug] (
- if [%BUILDSYSTEM%]==[MinGW] if [%PLATFORM%]==[x86] if [%CONFIGURATION%]==[Debug] (
MinGW32-make --version &&
g++ --version &&
MKDIR bin &&
Expand All @@ -44,7 +47,10 @@ build_script:

#create artifacts
after_build:
- xr_pack_build.cmd
- if [%BUILDSYSTEM%]==[MSVC] xr_pack_build.cmd
- if [%BUILDSYSTEM%]==[MinGW] if [%PLATFORM%]==[x86] if [%CONFIGURATION%]==[Debug] (
xr_pack_build.cmd
)

test: off
artifacts:
Expand Down

0 comments on commit 6189ed7

Please sign in to comment.