summaryrefslogtreecommitdiffstats
path: root/rust/vendor/brotli/appveyor.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 17:39:49 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 17:39:49 +0000
commita0aa2307322cd47bbf416810ac0292925e03be87 (patch)
tree37076262a026c4b48c8a0e84f44ff9187556ca35 /rust/vendor/brotli/appveyor.yml
parentInitial commit. (diff)
downloadsuricata-a0aa2307322cd47bbf416810ac0292925e03be87.tar.xz
suricata-a0aa2307322cd47bbf416810ac0292925e03be87.zip
Adding upstream version 1:7.0.3.upstream/1%7.0.3
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'rust/vendor/brotli/appveyor.yml')
-rw-r--r--rust/vendor/brotli/appveyor.yml51
1 files changed, 51 insertions, 0 deletions
diff --git a/rust/vendor/brotli/appveyor.yml b/rust/vendor/brotli/appveyor.yml
new file mode 100644
index 0000000..96a563c
--- /dev/null
+++ b/rust/vendor/brotli/appveyor.yml
@@ -0,0 +1,51 @@
+environment:
+ RUST_VERSION: stable
+ CRATE_NAME: brotli
+ matrix:
+ - TARGET: x86_64-pc-windows-gnu
+ BITS: 64
+ MSYS2: 1
+ - TARGET: x86_64-pc-windows-msvc
+ BITS: 64
+ - TARGET: i686-pc-windows-gnu
+ BITS: 32
+ MSYS2: 1
+ - TARGET: i686-pc-windows-msvc
+ BITS: 32
+install:
+ - curl -sSf -o rustup-init.exe https://win.rustup.rs/
+ - rustup-init.exe -y --default-host %TARGET% --default-toolchain %RUST_VERSION%
+ - set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
+ - if defined MSYS2 set PATH=C:\msys64\mingw%BITS%\bin;%PATH%
+ - rustc -V
+ - cargo -V
+build: false
+test_script:
+ - cargo test --verbose
+ - set RUSTFLAGS=-C panic=abort
+ - set CARGO_PROFILE_RELEASE=panic=abort
+ - cargo build --verbose --release --features=validation
+before_deploy:
+ - set CARGO_PROFILE_RELEASE=panic=abort
+ - set RUSTFLAGS=-C panic=abort
+ - cargo build --verbose --release --features=validation
+ - ps: ci\before_deploy.ps1
+
+deploy:
+ artifact: /.*\.zip/
+ auth_token:
+ secure: jKP3OCU0ukoMKenkxB/lhG9/tOXppd8ZWxCm9dS1VLzbkUoIUKt3+18pG3S54VdL
+ descriprion: 'windows rust-brotli build'
+ on:
+ RUST_VERSION: stable
+ provider: GitHub
+
+cache:
+ - C:\Users\appveyor\.cargo\registry
+ - target
+
+branches:
+ only:
+ # Release tags
+ - /^v\d+\.\d+\.\d+.*$/
+ - master