Merge pull request #211 from vibe-d/cfrunloop
Add "cfrunloop" configuration for macOS.
This commit is contained in:
commit
b7dffd5b2a
17
.travis.yml
17
.travis.yml
|
@ -9,12 +9,13 @@ d:
|
|||
# this way the overall test time gets cut down (GDC/LDC are a lot
|
||||
# slower tham DMD, so they should be started early), while still
|
||||
# catching most DMD version related build failures early
|
||||
- dmd-2.091.0,dub
|
||||
- dmd-2.092.0,dub
|
||||
- dmd-2.078.3,dub
|
||||
- ldc-1.20.1,dub
|
||||
- ldc-1.21.0,dub
|
||||
- ldc-1.15.0,dub
|
||||
- ldc-1.20.1,dub
|
||||
- ldc-1.19.0,dub
|
||||
- ldc-1.18.0,dub
|
||||
- dmd-2.091.1,dub
|
||||
- dmd-2.089.1,dub
|
||||
- dmd-2.088.1,dub
|
||||
- dmd-nightly,dub
|
||||
|
@ -23,7 +24,7 @@ d:
|
|||
env:
|
||||
- CONFIG=select
|
||||
- CONFIG=epoll
|
||||
- CONFIG=kqueue
|
||||
- CONFIG=cfrunloop
|
||||
# disabled until the libasync driver of eventcore is more than a stub
|
||||
#- CONFIG=libasync
|
||||
|
||||
|
@ -34,7 +35,7 @@ matrix:
|
|||
- d: ldc-latest-ci
|
||||
exclude:
|
||||
- os: linux
|
||||
env: CONFIG=kqueue
|
||||
env: CONFIG=cfrunloop
|
||||
- os: osx
|
||||
env: CONFIG=epoll
|
||||
# see https://github.com/ldc-developers/ldc/issues/2187
|
||||
|
@ -43,6 +44,12 @@ matrix:
|
|||
- d: ldc-1.15.0
|
||||
os: osx
|
||||
include:
|
||||
- d: dmd
|
||||
os: osx
|
||||
env: CONFIG=kqueue
|
||||
- d: ldc
|
||||
os: osx
|
||||
env: CONFIG=kqueue
|
||||
- d: dmd
|
||||
env: CONFIG='select' DUB_FLAGS='--build unittest-cov --build-mode=singleFile'
|
||||
- d: dmd
|
||||
|
|
12
CHANGELOG.md
12
CHANGELOG.md
|
@ -1,3 +1,15 @@
|
|||
1.9.2 - 2020-05-
|
||||
==================
|
||||
|
||||
- Updated tested compiler range to DMD 2.078.3-2.092.0 and LDC 1.15.0-1.21.0
|
||||
- Added support for a `CFRunLoop` based configuration on macOS to enable efficient UI integration - [pull #211][issue211]
|
||||
- Removed potentially blocking file I/O code - [pull #210][issue210]
|
||||
- Added error handling for process creation - [pull #210][issue210]
|
||||
|
||||
[issue210]: https://github.com/vibe-d/vibe-core/issues/210
|
||||
[issue211]: https://github.com/vibe-d/vibe-core/issues/211
|
||||
|
||||
|
||||
1.9.1 - 2020-03-18
|
||||
==================
|
||||
|
||||
|
|
23
appveyor.yml
23
appveyor.yml
|
@ -2,17 +2,17 @@ platform: x64
|
|||
environment:
|
||||
matrix:
|
||||
- DC: dmd
|
||||
DVersion: 2.088.0
|
||||
DVersion: 2.092.0
|
||||
arch: x64
|
||||
- DC: dmd
|
||||
DVersion: 2.087.1
|
||||
arch: x64
|
||||
- DC: dmd
|
||||
DVersion: 2.087.1
|
||||
DVersion: 2.092.0
|
||||
arch: x86
|
||||
- DC: dmd
|
||||
DVersion: 2.087.1
|
||||
DVersion: 2.092.0
|
||||
arch: x86_mscoff
|
||||
- DC: dmd
|
||||
DVersion: 2.091.1
|
||||
arch: x64
|
||||
- DC: dmd
|
||||
DVersion: 2.086.1
|
||||
arch: x64
|
||||
|
@ -23,7 +23,10 @@ environment:
|
|||
DVersion: 2.079.0
|
||||
arch: x86_mscoff
|
||||
- DC: ldc
|
||||
DVersion: 1.17.0
|
||||
DVersion: 1.21.0
|
||||
arch: x64
|
||||
- DC: ldc
|
||||
DVersion: 1.20.1
|
||||
arch: x64
|
||||
- DC: ldc
|
||||
DVersion: 1.16.0
|
||||
|
@ -31,12 +34,6 @@ environment:
|
|||
- DC: ldc
|
||||
DVersion: 1.15.0
|
||||
arch: x64
|
||||
- DC: ldc
|
||||
DVersion: 1.14.0
|
||||
arch: x64
|
||||
- DC: ldc
|
||||
DVersion: 1.9.0
|
||||
arch: x64
|
||||
|
||||
skip_tags: false
|
||||
|
||||
|
|
5
dub.sdl
5
dub.sdl
|
@ -4,7 +4,7 @@ authors "Sönke Ludwig"
|
|||
copyright "Copyright © 2016-2020, Sönke Ludwig"
|
||||
license "MIT"
|
||||
|
||||
dependency "eventcore" version="~>0.9.0"
|
||||
dependency "eventcore" version="~>0.9.2"
|
||||
dependency "stdx-allocator" version="~>2.77.0"
|
||||
|
||||
targetName "vibe_core"
|
||||
|
@ -20,6 +20,9 @@ configuration "winapi-optlink" {
|
|||
configuration "epoll" {
|
||||
subConfiguration "eventcore" "epoll"
|
||||
}
|
||||
configuration "cfrunloop" {
|
||||
subConfiguration "eventcore" "cfrunloop"
|
||||
}
|
||||
configuration "kqueue" {
|
||||
subConfiguration "eventcore" "kqueue"
|
||||
}
|
||||
|
|
|
@ -20,8 +20,7 @@ dub test --compiler=$DC -c $CONFIG $DUB_FLAGS
|
|||
if [ ${BUILD_EXAMPLE=1} -eq 1 ]; then
|
||||
for ex in $(\ls -1 examples/); do
|
||||
echo "[INFO] Building example $ex"
|
||||
# --override-config vibe-core/$CONFIG
|
||||
(cd examples/$ex && dub build --compiler=$DC && dub clean)
|
||||
(cd examples/$ex && dub build --compiler=$DC --override-config vibe-core/$CONFIG && dub clean)
|
||||
done
|
||||
fi
|
||||
if [ ${RUN_TEST=1} -eq 1 ]; then
|
||||
|
@ -32,7 +31,7 @@ if [ ${RUN_TEST=1} -eq 1 ]; then
|
|||
(cd tests && "./${script:6}")
|
||||
else
|
||||
echo "[INFO] Running test $ex"
|
||||
dub --temp-build --compiler=$DC --single $ex # --override-config vibe-core/$CONFIG
|
||||
dub --temp-build --compiler=$DC --single $ex --override-config vibe-core/$CONFIG
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue