From 38e5b76996cd0ed2317e7983c563635e3ddb89ec Mon Sep 17 00:00:00 2001 From: monacoremo <59358383+monacoremo@users.noreply.github.com> Date: Thu, 5 Aug 2021 19:03:03 +0200 Subject: [PATCH] ci: Remove appveyor.yml --- appveyor.yml | 47 ----------------------------------------------- 1 file changed, 47 deletions(-) delete mode 100644 appveyor.yml diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index 886316937..000000000 --- a/appveyor.yml +++ /dev/null @@ -1,47 +0,0 @@ -## AppVeyor is only used for building a Windows binary, no tests are run here. -platform: x64 -image: Visual Studio 2015 - -cache: -- "c:\\sr" -- .stack-work -- "c:\\Users\\appveyor\\AppData\\Local\\Programs\\stack" - -environment: - global: - STACK_ROOT: "c:\\sr" - GOPATH: c:\gopath - TMP: "c:\\tmp" - -test: off - -install: -- set PATH=C:\Program Files\PostgreSQL\9.6\bin\;%PATH% -- curl -sS -ostack.zip -L --insecure http://www.stackage.org/stack/windows-x86_64 -- 7z x stack.zip stack.exe -- set PATH=%GOPATH%\bin;c:\go\bin;%PATH% -- go get -u github.com/tcnksm/ghr - -build_script: -- ps: $env:cabal_nightly_version=(git show -s --format='%cd' --date='format:%Y%m%d') -- IF "%APPVEYOR_REPO_TAG_NAME%"=="nightly" bash -lc "sed -i -r \"s/^(version:\s+)\S+$/\1$cabal_nightly_version/\" postgrest.cabal" -- stack setup --no-terminal > nul -# Appveyor has a timeout of 60 mins, building can take longer, limit the time and make sure this succeeds, -# previous work will get cached and finish on next commit -- bash -lc "timeout 2700 'C:\projects\postgrest\stack.exe' build -j1 --copy-bins --local-bin-path . || (($?==124))" - -artifacts: -- path: postgrest.exe - -deploy_script: -## Use powershell(ps) for this because CMD commands having "%" don't work(even by escaping with "%%"). See https://github.com/appveyor/ci/issues/246. -- ps: $env:suffix=(git show -s --format="%cd-%h" --date="format:%Y-%m-%d-%H-%M") -- IF DEFINED APPVEYOR_REPO_TAG_NAME ( - IF "%APPVEYOR_REPO_TAG_NAME%"=="nightly" ( - 7z a -tzip postgrest-nightly-%suffix%-windows-x64.zip postgrest.exe && - bash -lc "exec 0