aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-01-24 02:50:54 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-01-24 02:50:54 +0300
commit1a0002fc5080a6c4b0d14f02f1de1b23f0b61b54 (patch)
tree23c59b17cba3ffdcfabbaa00e2ce5e2de11cc36c
parentAppVeyor: add some basic tests (diff)
downloadwindows-env-1a0002fc5080a6c4b0d14f02f1de1b23f0b61b54.tar.gz
windows-env-1a0002fc5080a6c4b0d14f02f1de1b23f0b61b54.zip
bye-bye, AppVeyor!no_more_appveyor
-rw-r--r--.appveyor.yml43
1 files changed, 0 insertions, 43 deletions
diff --git a/.appveyor.yml b/.appveyor.yml
deleted file mode 100644
index 4c58602..0000000
--- a/.appveyor.yml
+++ /dev/null
@@ -1,43 +0,0 @@
-version: '{build}'
-
-environment:
- install_dir: C:\Projects\install\windows-env
- global_env: HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
- user_env: HKCU:\Environment
-
-platform:
- - i386
- - x86_64
-
-matrix:
- fast_finish: true
-
-before_build:
- - choco.exe install haskell-stack
-
-build_script:
- - >-
- stack.exe
- build
- --install-ghc
- --copy-bins
- --local-bin-path "%install_dir%"
- --arch "%PLATFORM%"
-
-after_build:
- - 7z.exe a "%APPVEYOR_PROJECT_NAME%-%PLATFORM%.zip" "%install_dir%"
- - appveyor.exe PushArtifact "%APPVEYOR_PROJECT_NAME%-%PLATFORM%.zip"
-
-# I a PS noob, don't know a simpler/more elegant way :-(
-test_script:
- - ps: $((Get-ItemProperty $env:global_env).PATH.Split(';') | Select-String -Pattern '^C:\\dumb$' -Quiet) -and $(throw "Global PATH shouldn't contain C:\dumb")
- - ps: $((Get-ItemProperty $env:user_env).PATH.Split(';') | Select-String -Pattern '^C:\\dumb$' -Quiet) -and $(throw "User PATH shouldn't contain C:\dumb")
- - '"%install_dir%\addpath.exe" -y C:\dumb'
- - ps: $((Get-ItemProperty $env:global_env).PATH.Split(';') | Select-String -Pattern '^C:\\dumb$' -Quiet) -and $(throw "Global PATH shouldn't contain C:\dumb")
- - ps: $((Get-ItemProperty $env:user_env).PATH.Split(';') | Select-String -Pattern '^C:\\dumb$' -Quiet) -or $(throw "User PATH should contain C:\dumb")
- - '"%install_dir%\addpath.exe" -g -y C:\dumb'
- - ps: $((Get-ItemProperty $env:global_env).PATH.Split(';') | Select-String -Pattern '^C:\\dumb$' -Quiet) -or $(throw "Global PATH should contain C:\dumb")
- - ps: $((Get-ItemProperty $env:user_env).PATH.Split(';') | Select-String -Pattern '^C:\\dumb$' -Quiet) -or $(throw "User PATH should contain C:\dumb")
- - '"%install_dir%\delpath.exe" -g -y C:\dumb'
- - ps: $((Get-ItemProperty $env:global_env).PATH.Split(';') | Select-String -Pattern '^C:\\dumb$' -Quiet) -and $(throw "Global PATH shouldn't contain C:\dumb")
- - ps: $((Get-ItemProperty $env:user_env).PATH.Split(';') | Select-String -Pattern '^C:\\dumb$' -Quiet) -and $(throw "User PATH shouldn't contain C:\dumb")