-
Notifications
You must be signed in to change notification settings - Fork 9
/
appveyor.yml
47 lines (40 loc) · 1.3 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
version: '{build}'
skip_tags: true
image: Visual Studio 2019
clone_depth: 3
environment:
AWS_ACCESS_KEY_ID:
secure: 7jhk0oV/vjFsOcsAHLMUcNGUGLuGmnuPxGH0ce/Vky8=
AWS_SECRET_ACCESS_KEY:
secure: 5KKYpsIHwYHHh5ud0U7Ss0rLumv6G8tkS6abh1B9aq4wY6+1kq5fN/3E5BsdBVKy
AWS_DEFAULT_REGION: us-east-1
S3_CONFIG_VOLATILE: --acl public-read --cache-control "public, must-revalidate, proxy-revalidate, max-age=0"
GIT_FORMAT: '%%H'
matrix:
- ARCH: x64
PLATFORM: x64
- ARCH: x86
PLATFORM: Win32
- ARCH: arm64
PLATFORM: ARM64
matrix:
fast_finish: true
build_script:
- cmd: >-
mkdir build
cd build
cmake -G "Visual Studio 16 2019" -A %PLATFORM% -DBUILD_SHARED_LIBS=ON -DGLFW_BUILD_EXAMPLES=OFF -DGLFW_BUILD_TESTS=OFF -DGLFW_BUILD_DOCS=OFF -DUSE_MSVC_RUNTIME_LIBRARY_DLL=OFF ..
cmake --build . --config Release
aws s3 cp src\Release\glfw3.dll s3://build.lwjgl.org/nightly/windows/%ARCH%/glfw.dll %S3_CONFIG_VOLATILE%
cd ..
git log --first-parent --pretty=format:%GIT_FORMAT% HEAD~2..HEAD~1 > revision.git
aws s3 cp revision.git s3://build.lwjgl.org/nightly/windows/%ARCH%/glfw.dll.git %S3_CONFIG_VOLATILE%
test: off
notifications:
- provider: Email
to:
- iotsakp@gmail.com
subject: glfw3 CI
on_build_success: true
on_build_failure: true
on_build_status_changed: true