mirror of
https://github.com/PSI-Rockin/DobieStation.git
synced 2024-05-10 00:34:22 -04:00
fcdf6d2b93
Ignore commits to README.md, and /.github; This is future proofing for GitHub Actions, new issue template, etc. Capitalize Ubuntu. Change configuration to Release Optimized. Proper multi-command formatting. Use env matrix instead of shell to seperate steps for Windows and Linux. Add LICENSE to artifacts. Remove artifact type since it's unneeded. Windows: Use AppVeyor's build thing. Remove build verbosity since normal is the default. Remove build\bin crap from the zip. Linux: Make apt-get into one step. Speed up build by using -j. cd into APPVEYOR_BUILD_FOLDER to avoid problems.
65 lines
1.1 KiB
YAML
65 lines
1.1 KiB
YAML
version: 0.0.{build}
|
|
|
|
skip_tags: true
|
|
|
|
skip_commits:
|
|
files:
|
|
- .github/*
|
|
- .github/*/*
|
|
- README.md
|
|
|
|
image:
|
|
- Visual Studio 2017
|
|
- Ubuntu1804
|
|
|
|
configuration: Release Optimized
|
|
|
|
platform: x64
|
|
|
|
for:
|
|
-
|
|
matrix:
|
|
only:
|
|
- image: Visual Studio 2017
|
|
environment:
|
|
qt: 5.12
|
|
arch: x64
|
|
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
|
|
cc: VS2017
|
|
QTDIR: C:\Qt\5.12\msvc2017_64
|
|
|
|
build:
|
|
parallel: true
|
|
project: DobieStation\DobieStation.sln
|
|
|
|
after_build:
|
|
- 7z a -xr!*.lib DobieStation.zip .\build\bin\* LICENSE
|
|
-
|
|
matrix:
|
|
only:
|
|
- image: Ubuntu1804
|
|
environment:
|
|
APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu1804
|
|
cc: gcc
|
|
|
|
install:
|
|
- |-
|
|
sudo apt-get update -qq
|
|
sudo apt-get install -qq qt5-default qtmultimedia5-dev libglu1-mesa-dev
|
|
|
|
build_script:
|
|
- |-
|
|
qmake -v
|
|
cd DobieStation
|
|
qmake DobieStation.pro
|
|
make -j$(nproc)
|
|
cd $APPVEYOR_BUILD_FOLDER
|
|
|
|
after_build:
|
|
- 7z a DobieStation.zip ./DobieStation/DobieStation LICENSE
|
|
|
|
test: off
|
|
|
|
artifacts:
|
|
- path: DobieStation.zip
|