Skip to content

Commit

Permalink
Enable Cloudflare zlib by default in CI.
Browse files Browse the repository at this point in the history
Also turn off building dcm2niibatch.
  • Loading branch information
ningfei committed Dec 18, 2022
1 parent 2eb659e commit 4762234
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ for:
- job_name: win

build_script:
- cmake -Wno-dev -DBATCH_VERSION=ON -DUSE_OPENJPEG=GitHub -DUSE_JPEGLS=ON -B build
- cmake -Wno-dev -DZLIB_IMPLEMENTATION=Cloudflare -DUSE_OPENJPEG=GitHub -DUSE_JPEGLS=ON -B build
- cmake --build build --config %configuration%

after_build:
Expand All @@ -53,7 +53,7 @@ for:

build_script:
- export CC=gcc-8 CXX=g++-8
- cmake -Wno-dev -DBATCH_VERSION=ON -DUSE_OPENJPEG=GitHub -DUSE_JPEGLS=ON -B build
- cmake -Wno-dev -DZLIB_IMPLEMENTATION=Cloudflare -DUSE_OPENJPEG=GitHub -DUSE_JPEGLS=ON -B build
- cmake --build build

after_build:
Expand All @@ -68,16 +68,15 @@ for:

build_script:
- sudo xcode-select -s /Applications/Xcode-11.3.1.app
- cmake -Wno-dev -DCMAKE_OSX_ARCHITECTURES=x86_64 -DBATCH_VERSION=ON -DUSE_OPENJPEG=GitHub -DUSE_JPEGLS=ON -B intel
- cmake -Wno-dev -DCMAKE_OSX_ARCHITECTURES=x86_64 -DZLIB_IMPLEMENTATION=Cloudflare -DUSE_OPENJPEG=GitHub -DUSE_JPEGLS=ON -B intel
- cmake --build intel
- sudo xcode-select -s /Applications/Xcode-12.3.app
- cmake -Wno-dev -DCMAKE_OSX_ARCHITECTURES=arm64 -DBATCH_VERSION=ON -DUSE_OPENJPEG=GitHub -DUSE_JPEGLS=ON -B apple
- cmake -Wno-dev -DCMAKE_OSX_ARCHITECTURES=arm64 -DZLIB_IMPLEMENTATION=Cloudflare -DUSE_OPENJPEG=GitHub -DUSE_JPEGLS=ON -B apple
- cmake --build apple

after_build:
- mkdir -p build/bin
- lipo -create -output build/bin/dcm2niix intel/bin/dcm2niix apple/bin/dcm2niix
- lipo -create -output build/bin/dcm2niibatch intel/bin/dcm2niibatch apple/bin/dcm2niibatch
- strip -Sx build/bin/*
- 7z a dcm2niix_macos.zip ./build/bin/* &>/dev/null
- appveyor PushArtifact dcm2niix_macos.zip
Expand Down

0 comments on commit 4762234

Please sign in to comment.