2017-09-25 18:32:41 +00:00
|
|
|
version: 1.0.{build}
|
|
|
|
|
2022-09-28 09:26:37 +00:00
|
|
|
image: Visual Studio 2022
|
|
|
|
|
|
|
|
skip_commits:
|
|
|
|
files:
|
|
|
|
- '**/*.md'
|
|
|
|
- .github/
|
|
|
|
- data/*
|
|
|
|
- .gitattributes
|
|
|
|
- .gitignore
|
|
|
|
- .travis.yml
|
|
|
|
- README
|
|
|
|
|
|
|
|
branches:
|
|
|
|
except:
|
|
|
|
- nightly-build
|
|
|
|
|
2017-09-25 18:32:41 +00:00
|
|
|
configuration:
|
|
|
|
- New_Dynarec_Release
|
|
|
|
- Release
|
|
|
|
platform:
|
2020-01-25 16:28:23 +00:00
|
|
|
- Win32
|
2017-09-25 18:32:41 +00:00
|
|
|
- x64
|
|
|
|
|
|
|
|
before_build:
|
2022-09-28 09:26:37 +00:00
|
|
|
- git tag --delete nightly-build
|
2020-01-25 16:28:23 +00:00
|
|
|
- git clone --depth 1 https://github.com/mupen64plus/mupen64plus-win32-deps.git ..\mupen64plus-win32-deps
|
|
|
|
|
|
|
|
build_script:
|
2020-03-31 07:24:35 +00:00
|
|
|
- msbuild projects\msvc\mupen64plus-core.vcxproj /p:Configuration=%configuration%;Platform=%platform%
|
2020-01-25 16:28:23 +00:00
|
|
|
|
|
|
|
after_build:
|
|
|
|
- ps: $env:rev1 = git describe --tags
|
|
|
|
- set rev2=%platform%
|
|
|
|
- if "%rev2%"=="Win32" set rev2=x86
|
|
|
|
- set rev3=%configuration%
|
|
|
|
- if "%rev3%" NEQ "Release" set rev3=NewDynarec
|
|
|
|
- set filepkg=mupen64plus-core_v%rev1%_%rev2%-%rev3%
|
|
|
|
- cd projects\msvc\%platform%\%configuration%
|
2020-03-31 07:24:35 +00:00
|
|
|
- 7z a -t7z ..\..\..\..\build\%filepkg%.7z *.dll
|
2020-01-25 16:28:23 +00:00
|
|
|
|
|
|
|
artifacts:
|
|
|
|
- path: build\$(filepkg).7z
|
|
|
|
name: $(filepkg)
|