forked from BinomialLLC/basis_universal
-
Notifications
You must be signed in to change notification settings - Fork 3
/
appveyor.yml
48 lines (41 loc) · 947 Bytes
/
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
48
---
image:
- macos
- Ubuntu2004
- Visual Studio 2019
configuration: Release
environment:
APPVEYOR_YML_DISABLE_PS_LINUX: true
install:
- sh: |
if [ "$(uname)" != "Darwin" ]; then
sudo apt-get update -y
sudo apt-get install -y dos2unix recode
fi
build_script:
- ps: |
New-Item -Path . -Name "build" -ItemType "directory"
cd build
cmake --version
cmake ../ -DCMAKE_BUILD_TYPE:STRING="$env:CONFIGURATION"
cmake --build . --config $env:CONFIGURATION
cd ../
- sh: |
mkdir build
cd build
cmake --version
cmake ../ -DCMAKE_BUILD_TYPE:STRING="${CONFIGURATION}"
cmake --build . --config ${CONFIGURATION}
cd ../
test_script:
- sh: |
if [ "$(uname)" != "Darwin" ]; then
bash ./format.sh
fi
artifacts:
# Linux
- path: bin/basisu
# MacOS
- path: bin_osx/basisu
# Windows
- path: bin\$(configuration)\basisu.exe