Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision f3939e09

Von Christian Ehringfeld vor etwa 9 Jahren hinzugefügt

  • ID f3939e09e466aa079b8bbda46eef1c2c35ff1b49
  • Vorgänger 3938a37e
  • Nachfolger 4bd68ba6

ci

Unterschiede anzeigen:

.gitlab-ci.yml
#
# GitLab CI configuration for QOwnNotes
# https://ci.gitlab.com/lint
#
# you need a runner for OS X
# https://gitlab.com/gitlab-org/gitlab-ci-multi-runner
#
# execute: gitlab-ci-multi-runner run
#
# set the GITHUB_ACCESS_TOKEN with your GitHub securitry token for release deployment
#
before_script:
- PATH="/Applications/Qt/5.4/clang_64/bin:$PATH"
- QTDIR="/Applications/Qt/5.4/clang_64"
# http://doc.gitlab.com/ci/variables/README.html
#- echo "#define BUILD ""$CI_BUILD_ID" > build_number.h
- qmake -project
- qmake QOwnNotes.pro -r -spec macx-clang CONFIG+=x86_64
- make
- make check
build_job:
type: build
script:
- echo do some testing...
only:
- develop
- master
deployment_job:
type: deploy
script:
only:
- master
appveyor.yml
# AppVeyor build configuration
# http://www.appveyor.com/docs/build-configuration
os: unstable
install:
- set QTDIR=C:\Qt\5.4\mingw491_32
- set PATH=%PATH%;%QTDIR%\bin;C:\MinGW\bin
- set RELEASE_PATH=appveyor\release
build_script:
# using a header file without MemoryBarrier, that causes the build to fail
- qmake CuteEntityManager.pro -r -spec win32-g++
# - qmake QOwnNotes.pro -r -spec win32-g++ "CONFIG+=debug"
- mingw32-make
# creating the release path
- md ..\%RELEASE_PATH%
# copy the binary to our release path
#- copy release\CuteEntityManager.dll ..\%RELEASE_PATH%
#- cd ..\%RELEASE_PATH%
# fetching dependencies of QT app
# http://doc.qt.io/qt-5/windows-deployment.html
#- windeployqt --release CuteEntityManager
# this dll was missed by windeployqt
# - copy ..\libwinpthread-1.dll . /y
# this dll didn't work when released by windeployqt
# - copy "..\libstdc++-6.dll" . /y

Auch abrufbar als: Unified diff