Skip to content

Commit

Permalink
Fix build jobs (#2460)
Browse files Browse the repository at this point in the history
  • Loading branch information
raviqqe authored Aug 11, 2024
1 parent 64295d7 commit 58104ca
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 10 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,6 @@ jobs:
- uses: actions/checkout@v4
- uses: ./tools/ci/github/setup
- run: tools/lint.sh -- -D warnings
unused_dependencies:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: ./tools/ci/github/setup
- run: tools/unused_dependencies.sh
spell_check:
runs-on: ubuntu-latest
steps:
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from ubuntu:20.04

env DEBIAN_FRONTEND=noninteractive
env DEBIAN_FRONTEND=noninteractive

run apt update --fix-missing && apt install -y \
build-essential \
Expand All @@ -26,7 +26,7 @@ shell ["bash", "-lc"]

run git clone https://github.com/Homebrew/brew ~/.homebrew
run ~/.homebrew/bin/brew shellenv >> ~/.profile
run brew install hello
run brew info hello

run curl -fsSL https://sh.rustup.rs | sh /dev/stdin -y
run cargo install mdbook sccache turtle-build
Expand Down
1 change: 1 addition & 0 deletions .cspell.json → cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"libc",
"malloc",
"metaprogramming",
"metavars",
"mfmt",
"mkdocs",
"modifiability",
Expand Down
1 change: 1 addition & 0 deletions lib/ffi/src/future/call_function.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ macro_rules! call_function {
let mut initialize = Some(|stack: &mut AsyncStack| {
let function = $function;

#[allow(clippy::macro_metavars_in_unsafe)]
unsafe { function(stack, resolve, $($argument),*) };
});

Expand Down
2 changes: 1 addition & 1 deletion lib/infra/src/ninja_build_script_runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ impl app::infra::BuildScriptRunner for NinjaBuildScriptRunner {
.arg("--quiet")
.arg("-f")
.arg(&build_script_file)
.arg(&self.file_path_converter.convert_to_os_path(target_file))
.arg(self.file_path_converter.convert_to_os_path(target_file))
.stdout(Stdio::inherit())
.stderr(Stdio::inherit()),
)?;
Expand Down
2 changes: 1 addition & 1 deletion lib/infra/src/test_linker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ impl app::infra::TestLinker for TestLinker {
command_runner::run_command(
Command::new("cp")
.arg("-r")
.arg(&Path::new(&language_root_directory).join("cmd/test"))
.arg(Path::new(&language_root_directory).join("cmd/test"))
.arg(&main_crate_directory),
)?;
}
Expand Down

0 comments on commit 58104ca

Please sign in to comment.