Skip to content
Snippets Groups Projects
Commit b6cd2918 authored by AdminXVII's avatar AdminXVII Committed by Michael Aaron Murphy
Browse files

ci: Test rather than check for redox

parent 0dc5a74c
No related branches found
No related tags found
No related merge requests found
...@@ -39,7 +39,7 @@ redox: ...@@ -39,7 +39,7 @@ redox:
- mkdir .cargo - mkdir .cargo
- echo 'paths = [ "libc", "nix" ]' >> .cargo/config - echo 'paths = [ "libc", "nix" ]' >> .cargo/config
script: script:
- redoxer check - redoxer test
pages: pages:
image: hrektts/mdbook image: hrektts/mdbook
......
// This is based on the sprite example from piston-examples, available at https://github.com/PistonDevelopers/piston-examples // This is based on the sprite example from piston-examples, available at https://github.com/PistonDevelopers/piston-examples
#[cfg(not(target_os = "redox"))]
use std::{cell::RefCell, fs::File, path::Path, rc::Rc};
#[cfg(not(target_os = "redox"))]
use ai_behavior::{Action, Sequence, Wait, WaitForever, While}; use ai_behavior::{Action, Sequence, Wait, WaitForever, While};
#[cfg(not(target_os = "redox"))]
use ion_shell::{ use ion_shell::{
builtins::{BuiltinFunction, Status}, builtins::{BuiltinFunction, Status},
types, Shell, types, Shell,
}; };
#[cfg(not(target_os = "redox"))]
use piston_window::*; use piston_window::*;
#[cfg(not(target_os = "redox"))]
use sprite::*; use sprite::*;
use std::{cell::RefCell, fs::File, path::Path, rc::Rc};
#[cfg(target_os = "redox")]
// Don't run the test on redox
fn main() {}
#[cfg(not(target_os = "redox"))]
fn main() { fn main() {
// This is specific to piston. It does not matter // This is specific to piston. It does not matter
// Skip to the next ***** // Skip to the next *****
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment