45 lines
974 B
YAML
45 lines
974 B
YAML
name: Build & Run all tests (release)
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
workflow_dispatch:
|
|
|
|
release:
|
|
types:
|
|
- created
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
defaults:
|
|
run:
|
|
shell: cmd
|
|
|
|
jobs:
|
|
build:
|
|
|
|
name: Prepare and build on Windows Server VM
|
|
runs-on: windows-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Install dependencies into Virtual Environment...
|
|
run: _RegisterHelixNUnit.bat
|
|
|
|
- name: Build project in Release-mode, compile Pas-units, run tests
|
|
run: _RebuildReleaseAndRunTestsForGitHubActions.bat
|
|
timeout-minutes: 40
|
|
env:
|
|
PABCNET_BUILD_MODE: Release
|
|
PABCNET_RUN_TESTS: false
|
|
PABCNET_INC_BUILD: false
|
|
PABCNET_VERBOSE: false
|
|
|
|
#- name: Publish artifacts (5/5)...
|
|
# uses: actions/upload-artifact@v2
|
|
# with:
|
|
# name: All_distros
|
|
# path: Release
|