mirror of
https://github.com/PSI-Rockin/DobieStation.git
synced 2024-05-20 13:08:11 -04:00
commit
4afb31fc64
29
.github/workflows/CI.yml
vendored
29
.github/workflows/CI.yml
vendored
|
@ -3,16 +3,16 @@ name: CI
|
|||
on:
|
||||
push:
|
||||
paths-ignore:
|
||||
- .github/*
|
||||
- .github/ISSUE_TEMPLATE/**
|
||||
- .appveyor.yml
|
||||
- README.md
|
||||
- '.github/*'
|
||||
- '.github/*_TEMPLATE/**'
|
||||
- '*.md'
|
||||
- '*.yml'
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- .github/*
|
||||
- .github/ISSUE_TEMPLATE/**
|
||||
- .appveyor.yml
|
||||
- README.md
|
||||
- '.github/*'
|
||||
- '.github/*_TEMPLATE/**'
|
||||
- '*.md'
|
||||
- '*.yml'
|
||||
|
||||
jobs:
|
||||
Windows:
|
||||
|
@ -35,15 +35,16 @@ jobs:
|
|||
run: msbuild DobieStation\DobieStation.sln /m /nologo /p:Configuration="${{ matrix.Configuration }}"
|
||||
- name: Prepare artifacts
|
||||
if: matrix.Configuration != 'Release'
|
||||
run: |
|
||||
mv LICENSE build\bin
|
||||
rm build\bin\*.lib
|
||||
run: Move-Item LICENSE build\bin
|
||||
- name: Upload artifacts
|
||||
if: success()
|
||||
if: matrix.Configuration != 'Release'
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: DobieStation-${{ runner.os }}-${{ matrix.Configuration }}
|
||||
path: build\bin
|
||||
path: |
|
||||
build\bin
|
||||
!**\*.lib
|
||||
if-no-files-found: error
|
||||
|
||||
Windows-CMake:
|
||||
runs-on: windows-latest
|
||||
|
@ -114,6 +115,7 @@ jobs:
|
|||
with:
|
||||
name: DobieStation-${{ runner.os }}
|
||||
path: artifacts
|
||||
if-no-files-found: error
|
||||
|
||||
macOS-CMake:
|
||||
runs-on: macos-latest
|
||||
|
@ -164,3 +166,4 @@ jobs:
|
|||
with:
|
||||
name: DobieStation-${{ runner.os }}
|
||||
path: artifacts
|
||||
if-no-files-found: error
|
||||
|
|
Loading…
Reference in a new issue