forked from amethyst/rendy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Zakarum
committed
Nov 30, 2018
1 parent
e721726
commit 8f8abc6
Showing
16 changed files
with
80 additions
and
809 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,40 @@ | ||
language: rust | ||
rust: | ||
- stable | ||
- beta | ||
- nightly | ||
cache: | ||
cargo: true | ||
directories: | ||
- $HOME/deps | ||
|
||
compiler: clang | ||
|
||
matrix: | ||
allow_failures: | ||
- rust: nightly | ||
fast_finish: true | ||
script: | ||
- cargo test --verbose --all | ||
include: | ||
# Linux 64bit | ||
- os: linux | ||
rust: stable | ||
- os: linux | ||
rust: nightly | ||
|
||
# macOS 64bit | ||
- env: MACOSX_DEPLOYMENT_TARGET=10.9 | ||
os: osx | ||
rust: stable | ||
osx_image: xcode9 | ||
- env: MACOSX_DEPLOYMENT_TARGET=10.9 | ||
os: osx | ||
rust: nightly | ||
osx_image: xcode9 | ||
|
||
# iPhoneOS 64bit | ||
- env: TARGET=aarch64-apple-ios | ||
os: osx | ||
osx_image: xcode9 | ||
rust: nightly | ||
|
||
branches: | ||
only: | ||
- staging | ||
- trying | ||
- master | ||
|
||
script: | ||
- make |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
RUST_BACKTRACE:=1 | ||
RENDY_FEATURES:= | ||
|
||
ifeq ($(OS),Windows_NT) | ||
RENDY_FEATURES=dx12 | ||
else | ||
UNAME_S:=$(shell uname -s) | ||
ifeq ($(UNAME_S),Linux) | ||
RENDY_FEATURES=vulkan | ||
endif | ||
ifeq ($(UNAME_S),Darwin) | ||
RENDY_FEATURES=metal | ||
endif | ||
endif | ||
|
||
test: | ||
cd rendy && cargo test --all --features $(RENDY_FEATURES) | ||
|
||
doc: | ||
cargo doc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,13 +4,15 @@ version = "0.1.0" | |
authors = ["omni-viral <[email protected]>"] | ||
|
||
[features] | ||
empty = ["gfx-backend-empty", "rendy-wsi/gfx-backend-empty"] | ||
dx12 = ["gfx-backend-dx12", "rendy-wsi/gfx-backend-dx12"] | ||
metal = ["gfx-backend-metal", "rendy-wsi/gfx-backend-metal"] | ||
vulkan = ["gfx-backend-vulkan", "rendy-wsi/gfx-backend-vulkan"] | ||
|
||
[dependencies] | ||
derivative = "1.0" | ||
failure = "0.1" | ||
gfx-backend-empty = { git = "https://github.com/gfx-rs/gfx", optional = true } | ||
gfx-backend-dx12 = { git = "https://github.com/gfx-rs/gfx", optional = true } | ||
gfx-backend-metal = { git = "https://github.com/gfx-rs/gfx", optional = true } | ||
gfx-backend-vulkan = { git = "https://github.com/gfx-rs/gfx", optional = true } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ version = "0.1.0" | |
authors = ["omni-viral <[email protected]>"] | ||
|
||
[features] | ||
empty = ["rendy-factory/empty", "rendy-wsi/empty", "gfx-backend-empty"] | ||
dx12 = ["rendy-factory/dx12", "rendy-wsi/dx12", "gfx-backend-dx12"] | ||
metal = ["rendy-factory/metal", "rendy-wsi/metal", "gfx-backend-metal"] | ||
vulkan = ["rendy-factory/vulkan", "rendy-wsi/vulkan", "gfx-backend-vulkan"] | ||
|
@@ -20,12 +21,13 @@ rendy-renderer = { path = "../renderer" } | |
rendy-resource = { path = "../resource" } | ||
rendy-wsi = { path = "../wsi" } | ||
|
||
gfx-hal = { git = "https://github.com/gfx-rs/gfx" } | ||
gfx-backend-empty = { git = "https://github.com/gfx-rs/gfx", optional = true } | ||
gfx-backend-dx12 = { git = "https://github.com/gfx-rs/gfx", optional = true } | ||
gfx-backend-metal = { git = "https://github.com/gfx-rs/gfx", optional = true } | ||
gfx-backend-vulkan = { git = "https://github.com/gfx-rs/gfx", optional = true } | ||
|
||
[dev-dependencies] | ||
gfx-hal = { git = "https://github.com/gfx-rs/gfx" } | ||
env_logger = "0.5" | ||
failure = "0.1" | ||
lazy_static = "1.0" | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.