Skip to content

Commit

Permalink
ci: enable ci when push to main
Browse files Browse the repository at this point in the history
  • Loading branch information
Young-Flash committed Jul 8, 2024
1 parent 6255b01 commit c06c831
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: CI

on:
# push:
# branches: main
push:
branches: main
pull_request:
branches: main

Expand Down
3 changes: 2 additions & 1 deletion crates/moon/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,8 @@ pub fn get_compiler_flags(src_dir: &Path, build_flags: &BuildFlags) -> anyhow::R
};

let nostd = !build_flags.std() || moon_mod.name == MOONBITLANG_CORE;
let no_render = build_flags.no_render || std::env::var("MOON_NO_RENDER").unwrap_or_default() == "1";
let no_render =
build_flags.no_render || std::env::var("MOON_NO_RENDER").unwrap_or_default() == "1";

Ok(MooncOpt {
build_opt,
Expand Down

0 comments on commit c06c831

Please sign in to comment.