mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-22 14:55:05 +00:00
47 lines
1.2 KiB
YAML
47 lines
1.2 KiB
YAML
language: rust
|
|
|
|
matrix:
|
|
include:
|
|
# Linux 64bit
|
|
- os: linux
|
|
rust: stable
|
|
compiler: gcc
|
|
- os: linux
|
|
rust: nightly
|
|
compiler: gcc
|
|
# Windows 64bit
|
|
- os: windows
|
|
rust: stable
|
|
|
|
# macOS 64bit
|
|
- env: MACOSX_DEPLOYMENT_TARGET=10.9
|
|
os: osx
|
|
rust: stable
|
|
osx_image: xcode9
|
|
compiler: clang
|
|
#- env: MACOSX_DEPLOYMENT_TARGET=10.9
|
|
# os: osx
|
|
# rust: nightly
|
|
# osx_image: xcode9
|
|
# compiler: clang
|
|
|
|
# iPhoneOS 64bit
|
|
#- env: TARGET=aarch64-apple-ios
|
|
# os: osx
|
|
# osx_image: xcode9
|
|
# rust: nightly
|
|
|
|
branches:
|
|
except:
|
|
- staging.tmp
|
|
|
|
before_install:
|
|
# Do not run bors builds against the nightly compiler.
|
|
# We want to find out about nightly bugs, so they're done in master, but we don't block on them.
|
|
- if [[ $TRAVIS_RUST_VERSION == "nightly" && $TRAVIS_BRANCH == "staging" ]]; then exit; fi
|
|
- if [[ $TRAVIS_OS_NAME == "windows" ]]; then choco install make; fi
|
|
|
|
script:
|
|
- cargo test
|
|
#- if [[ $TRAVIS_OS_NAME == "osx" ]]; then (brew update && brew upgrade cmake && brew install glfw3 && cd wgpu-native && cargo build --features=local,gfx-backend-metal && cd ../examples/hello_triangle_c && mkdir build && cd build && cmake .. && make); fi
|