forked from pascalabcnet/pascalabcnet
-
Notifications
You must be signed in to change notification settings - Fork 0
67 lines (56 loc) · 1.79 KB
/
build-and-publish.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
name: Build / Test / Publish on Windows [CI + manual]
on:
workflow_dispatch:
push:
branches:
- test
defaults:
run:
shell: cmd
jobs:
build:
name: Prepare and build on Windows Server VM (2019)
runs-on: windows-2019
steps:
- uses: actions/checkout@v2
- name: Install dependencies into Virtual Environment...
run: _RegisterHelixNUnit.bat
- name: Build C# project in release-mode, compile Pas-units, create install packages...
run: _GenerateAllSetups.bat
#run: _RebuildReleaseAndRunTestsForGitHubActions.bat
timeout-minutes: 60
env:
PABCNET_BUILD_MODE: Release
PABCNET_RUN_TESTS: false
PABCNET_INC_BUILD: false
PABCNET_VERBOSE: false
- name: Publish artifact 1/4 [Win7_IDE_Full]
uses: actions/upload-artifact@v4
with:
name: PascalABCNET_Win7_IDE_Full
path: Release/PascalABCNETSetup.exe
if-no-files-found: error
- name: Publish artifact 2/4 [Win7_IDE_Mini]
uses: actions/upload-artifact@v4
with:
name: PascalABCNET_Win7_IDE_Mini
path: Release/PascalABCNETMiniSetup.exe
if-no-files-found: error
- name: Publish artifact 3/4 [WinXP_IDE_Full]
uses: actions/upload-artifact@v4
with:
name: PascalABCNET_WinXP_IDE_Full
path: Release/PascalABCNETWithDotNet40Setup.exe
if-no-files-found: error
- name: Publish artifact 4/4 [Win_Mac_Linux_console]
uses: actions/upload-artifact@v4
with:
name: PascalABCNET_Win_Mac_Linux_console
path: Release/PABCNETC.zip
if-no-files-found: error
#- name: Publish artifact 5/5 [All_distros]
# uses: actions/upload-artifact@v4
# with:
# name: All_distros
# path: Release
# if-no-files-found: error