From 2e135b2124b7929de943eac7068ac78cdfb02174 Mon Sep 17 00:00:00 2001 From: Trevor Gross Date: Wed, 13 Sep 2023 02:14:48 -0400 Subject: [PATCH] Add rust configuration to appveyor and cirrus --- .appveyor.yml | 5 +++++ .cirrus.yml | 3 +++ 2 files changed, 8 insertions(+) diff --git a/.appveyor.yml b/.appveyor.yml index 2bf14c4d..bf54b0cc 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -48,6 +48,11 @@ init: #- if "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2013" (call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" amd64) # call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat" +install: + - appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe + - rustup-init.exe -y --default-toolchain stable --profile minimal + - $Env:PATH += "$Env:USERPROFILE\.cargo\bin" + build_script: - git submodule update --init #- if "%MINGW%"=="1" call build-msys2.bat diff --git a/.cirrus.yml b/.cirrus.yml index d26e5c9c..3a811a49 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -8,6 +8,9 @@ task: install_script: - pkg install -y cmake git - git submodule update --init + - > + fetch -q --no-tlsv1 -o- https://sh.rustup.rs | + sh -s -- -y --default-toolchain stable --profile minimal build_script: - cmake . - make VERBOSE=1