我正在与Xamarin.Forms合作开展一个宠物项目,我想知道是否有人有成功配置gitlab-ci.yml构建的经验.一般来说,配置.NET构建的材料似乎有限,在将两个版本串联起来之前,试着成功构建一个.已经尝试了每个项目.csproj的构建路径.
任何见解和经验将不胜感激.
目前.gitlab-ci.yml
image: mono
variables:
Solution: Solution.sln
stages:
- build
- test
- deploy
before_script:
- nuget restore $Solution
build:
stage: build
script:
- MONO_IOMAP=case xbuild /p:Configuration="Release" /p:Platform="iPhone" /t:Build $Solution
Run Code Online (Sandbox Code Playgroud)