Skip to content

Commit

Permalink
Issue #37: separate CI script for 32-bit linking
Browse files Browse the repository at this point in the history
  • Loading branch information
dzhoshkun committed Apr 8, 2019
1 parent 84e86b3 commit 8a8b5ce
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,22 +27,24 @@ build-against-ulterius:
tags:
- gift-hopper

build-against-epiphan-sdk:
build-against-epiphan-sdk-32bit:
stage: build
variables:
arch_tag: 32bit
script:
- mkdir build-%epiphansdk_tag%
- cd build-%epiphansdk_tag%
- mkdir build-%epiphansdk_tag%-%arch_tag%
- cd build-%epiphansdk_tag%-%arch_tag%
- cmake -D USE_EPIPHAN:BOOL=ON ..
- cmake --build . --config Release
- dir
- dir Release\xono2l-%epiphansdk_tag%.dll
- file.exe Release\xono2l-%epiphansdk_tag%.dll | grep 80386 & REM Should fail if 64-bit
- dir Release\xono2l-%epiphansdk_tag%-%arch_tag%.dll
- file.exe Release\xono2l-%epiphansdk_tag%-%arch_tag%.dll | grep 80386 & REM Should fail if 64-bit
artifacts:
name: "%CI_JOB_NAME%-%CI_COMMIT_REF_NAME%"
paths:
- build-%epiphansdk_tag%\Release\xono2l-%epiphansdk_tag%.dll
- build-%epiphansdk_tag%\Release\xono2l-%epiphansdk_tag%.lib
- build-%epiphansdk_tag%\Release\xono2l-%epiphansdk_tag%.exp
- build-%epiphansdk_tag%\Release\xono2l-%epiphansdk_tag%-%arch_tag%.dll
- build-%epiphansdk_tag%\Release\xono2l-%epiphansdk_tag%-%arch_tag%.lib
- build-%epiphansdk_tag%\Release\xono2l-%epiphansdk_tag%-%arch_tag%.exp
expire_in: 1 week
tags:
- gift-hopper

0 comments on commit 8a8b5ce

Please sign in to comment.