Skip to content

Commit

Permalink
temp: print command
Browse files Browse the repository at this point in the history
  • Loading branch information
ObserverOfTime committed Mar 26, 2024
1 parent be7f3d1 commit 10af99f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@ jobs:
if: ${{ !matrix.cli-only && !matrix.use-cross && inputs.run_test }} # Cross-compiled benchmarks make no sense
run: $BUILD_CMD bench benchmark -p tree-sitter-cli --target=${{ matrix.target }}

- run: $BUILD_CMD run --release --target=${{ matrix.target }} build test/fixtures/grammars/bash

- name: Upload CLI artifact
uses: actions/upload-artifact@v4
with:
Expand Down
1 change: 1 addition & 0 deletions cli/loader/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -604,6 +604,7 @@ impl Loader {
command.args(cc_config.get_files());
command.arg("-o").arg(output_path);
}
println!("::notice title=Command ({BUILD_TARGET})::{command:?}");

let output = command.output().with_context(|| {
format!("Failed to execute the C compiler with the following command:\n{command:?}")
Expand Down

0 comments on commit 10af99f

Please sign in to comment.