Skip to content

Commit

Permalink
Merge branch 'main' into jr/options-to-limit-cpu-mem
Browse files Browse the repository at this point in the history
  • Loading branch information
coffee-cup committed Aug 18, 2023
2 parents cc70fd4 + 6e6cd71 commit 7355947
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 84 deletions.
3 changes: 0 additions & 3 deletions examples/zig-gyro/.gitignore

This file was deleted.

36 changes: 0 additions & 36 deletions examples/zig-gyro/build.zig

This file was deleted.

1 change: 0 additions & 1 deletion examples/zig-gyro/gyro.lock

This file was deleted.

2 changes: 0 additions & 2 deletions examples/zig-gyro/gyro.zzz

This file was deleted.

13 changes: 0 additions & 13 deletions examples/zig-gyro/src/main.zig

This file was deleted.

8 changes: 0 additions & 8 deletions tests/docker_run_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -894,14 +894,6 @@ async fn test_zig() {
assert!(output.contains("Hello from Zig"));
}

#[tokio::test]
async fn test_zig_gyro() {
let name = simple_build("./examples/zig-gyro").await;
let output = run_image(&name, None).await;
assert!(output.contains("Hello from Zig"));
assert!(output.contains("The URI scheme of GitHub is https."));
}

#[tokio::test]
async fn test_ruby_2() {
let name = simple_build("./examples/ruby-2").await;
Expand Down
21 changes: 0 additions & 21 deletions tests/generate_plan_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,27 +107,6 @@ fn test_haskell_stack() {
);
}

#[cfg(any(target_arch = "aarch64", target_arch = "x86_64", target_arch = "i386"))]
#[test]
fn test_zig_gyro() {
let plan = simple_gen_plan("./examples/zig-gyro");
let install = plan.get_phase("install").unwrap().clone();
let build = plan.get_phase("build").unwrap();
let start = plan.start_phase.clone().unwrap();

assert_eq!(
build.cmds,
Some(vec!["zig build -Drelease-safe=true".to_string()])
);
assert_eq!(start.cmd, Some("./zig-out/bin/zig-gyro".to_string()));
assert!(install
.cmds
.unwrap()
.get(0)
.unwrap()
.contains("mkdir /gyro"));
}

#[test]
fn test_node_turborepo_custom_app() {
let plan = generate_build_plan(
Expand Down

0 comments on commit 7355947

Please sign in to comment.