-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitlab-ci.yml
31 lines (31 loc) · 1.39 KB
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
variables:
GIT_SUBMODULE_STRATEGY: normal
image : mcr.microsoft.com/dotnet/core/sdk:latest
stages:
- build
build:
stage: build
tags:
- build
- docker
script:
- 'dotnet restore'
- 'dotnet publish -o publish/rfpproxy -c Release RfpProxy/RfpProxy.csproj'
- 'dotnet publish -o publish/rfpproxy.log -c Release RfpProxy.Log/RfpProxy.Log.csproj'
- 'dotnet publish -o publish/rfpproxy.pcap -c Release RfpProxy.Pcap/RfpProxy.Pcap.csproj'
- 'dotnet publish -o publish/rfpproxy.inject -c Release RfpProxy.Inject/RfpProxy.Inject.csproj'
- 'dotnet publish -o publish/rfpproxy.led -c Release RfpProxy.ChangeLed/RfpProxy.ChangeLed.csproj'
- 'dotnet publish -o publish/rfpproxy.traffic -c Release RfpProxy.Traffic/RfpProxy.Traffic.csproj'
- 'dotnet publish -o publish/compressipui -c Release CompressIPUI/CompressIPUI.csproj'
- 'dotnet publish -o publish/avm -c Release AVM/AVM.csproj'
- 'dotnet publish -o publish/busyled -c Release BusyLed/BusyLed.csproj'
- 'dotnet publish -o publish/midi -c Release MediaTone/MediaTone.csproj'
- 'dotnet publish -o publish/morseled -c Release MorseLed/MorseLed.csproj'
- 'dotnet publish -o publish/virtualrfp -c Release SoftRfp/SoftRfp.csproj'
- 'apt update -y'
- 'apt install -y rpm'
- 'rpmbuild --target noarch --define "_binaries_in_noarch_packages_terminate_build 0" -bb --build-in-place rpmbuild/SPECS/rfpproxy.spec'
artifacts:
paths:
- publish
- rpm