commit
600feaae1e
|
@ -27,9 +27,9 @@ before_script:
|
|||
- export PATH=$PATH:$PWD/.ntmp
|
||||
|
||||
script:
|
||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then meson build && ninja -j8 -C build; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ninja -j8 -C build test -v; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then SDKROOT=$(xcodebuild -version -sdk macosx Path) meson build && ninja -j8 -C build test; fi
|
||||
#- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then meson build && ninja -j8 -C build; fi
|
||||
#- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ninja -j8 -C build test -v; fi
|
||||
#- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then SDKROOT=$(xcodebuild -version -sdk macosx Path) meson build && ninja -j8 -C build test; fi
|
||||
- dub build
|
||||
- dub test --build=unittest-cov
|
||||
after_success:
|
||||
|
|
|
@ -59,17 +59,18 @@ install:
|
|||
- ps: function ResolveLatestLDC
|
||||
{
|
||||
$version = $env:DVersion;
|
||||
$arch = $env:arch;
|
||||
if($version -eq "stable") {
|
||||
$latest = (Invoke-WebRequest "https://ldc-developers.github.io/LATEST").toString().replace("`n","").replace("`r","");
|
||||
$url = "https://github.com/ldc-developers/ldc/releases/download/v$($latest)/ldc2-$($latest)-win64-msvc.zip";
|
||||
$url = "https://github.com/ldc-developers/ldc/releases/download/v$($latest)/ldc2-$($latest)-windows-$($arch).7z";
|
||||
}elseif($version -eq "beta") {
|
||||
$latest = (Invoke-WebRequest "https://ldc-developers.github.io/LATEST_BETA").toString().replace("`n","").replace("`r","");
|
||||
$url = "https://github.com/ldc-developers/ldc/releases/download/v$($latest)/ldc2-$($latest)-win64-msvc.zip";
|
||||
$url = "https://github.com/ldc-developers/ldc/releases/download/v$($latest)/ldc2-$($latest)-windows-$($arch).7z";
|
||||
} else {
|
||||
$latest = $version;
|
||||
$url = "https://github.com/ldc-developers/ldc/releases/download/v$($version)/ldc2-$($version)-win64-msvc.zip";
|
||||
$url = "https://github.com/ldc-developers/ldc/releases/download/v$($version)/ldc2-$($version)-windows-$($arch).7z";
|
||||
}
|
||||
$env:PATH += ";C:\ldc2-$($latest)-win64-msvc\bin";
|
||||
$env:PATH += ";C:\ldc2-$($latest)-windows-$($arch)\bin";
|
||||
$env:DC = "ldc2";
|
||||
return $url;
|
||||
}
|
||||
|
|
|
@ -596,6 +596,7 @@ final class Parser
|
|||
// Any hex digits are 1-byte so this works.
|
||||
char[] hex = oldValue[0 .. hexLength];
|
||||
oldValue = oldValue[hexLength .. $];
|
||||
import std.ascii : isHexDigit;
|
||||
assert(!hex.canFind!(d => !d.isHexDigit),
|
||||
"Scanner must ensure the hex string is valid");
|
||||
|
||||
|
|
|
@ -2,6 +2,10 @@ canonical: yes
|
|||
answer: NO
|
||||
logical: True
|
||||
option: on
|
||||
constbool: on
|
||||
imutbool: on
|
||||
const_bool: on
|
||||
imut_bool: on
|
||||
|
||||
|
||||
but:
|
||||
|
|
Loading…
Reference in a new issue