2020-02-18 15:12:07 +00:00
|
|
|
image: mcr.microsoft.com/dotnet/core/sdk:3.1
|
2019-12-26 06:57:40 +00:00
|
|
|
|
|
|
|
stages:
|
|
|
|
- build
|
2020-05-05 05:46:55 +00:00
|
|
|
- test
|
|
|
|
- archive
|
2019-12-26 06:57:40 +00:00
|
|
|
|
|
|
|
build:
|
|
|
|
artifacts:
|
|
|
|
expire_in: "30 minutes"
|
|
|
|
name: "BizHawk_tempbuild_$CI_COMMIT_REF_SLUG"
|
|
|
|
paths:
|
|
|
|
- output
|
2020-05-05 05:46:55 +00:00
|
|
|
- test_output
|
2019-12-26 06:57:40 +00:00
|
|
|
script:
|
2020-05-05 05:46:55 +00:00
|
|
|
- Dist/BuildRelease.sh
|
2019-12-26 06:57:40 +00:00
|
|
|
stage: build
|
|
|
|
|
2020-05-05 05:46:55 +00:00
|
|
|
check_style:
|
|
|
|
script:
|
|
|
|
- Dist/BuildRelease.sh -p:MachineRunAnalyzersDuringBuild=true
|
|
|
|
stage: test
|
|
|
|
|
|
|
|
run_tests:
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- test_output/*.coverage.xml
|
|
|
|
reports:
|
|
|
|
junit:
|
|
|
|
- test_output/*.coverage.xml
|
|
|
|
script:
|
|
|
|
- Dist/BuildTestRelease.sh
|
|
|
|
stage: test
|
|
|
|
|
|
|
|
create_archive:
|
2019-12-26 06:57:40 +00:00
|
|
|
artifacts:
|
|
|
|
expire_in: "1 month"
|
|
|
|
name: "BizHawk_devbuild_$CI_COMMIT_REF_SLUG"
|
|
|
|
paths:
|
|
|
|
- output
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
script:
|
|
|
|
- ''
|
2020-05-05 05:46:55 +00:00
|
|
|
stage: archive
|
2019-12-26 06:57:40 +00:00
|
|
|
|
|
|
|
cache:
|
|
|
|
key: "$CI_COMMIT_REF_SLUG"
|
|
|
|
paths:
|
|
|
|
- packages
|