diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index a2d914e9601..25e3b4be89e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -152,6 +152,11 @@ jobs: echo "ok: Architecture match" if: ${{ matrix.run-integration-tests }} + - name: debug + run: | + which escript + echo $PATH + - name: Run tests uses: clechasseur/rs-cargo@v3 with: diff --git a/compiler-cli/src/beam_compiler.rs b/compiler-cli/src/beam_compiler.rs index 8a9b96244cc..796203eccea 100644 --- a/compiler-cli/src/beam_compiler.rs +++ b/compiler-cli/src/beam_compiler.rs @@ -110,6 +110,8 @@ impl BeamCompiler { let escript_source = std::include_str!("../templates/gleam@@compile.erl"); io.write(&escript_path, escript_source)?; + let _ = dbg!(std::env::var("PATH")); + tracing::trace!(escript_path=?escript_path, "spawn_beam_compiler"); let mut process = std::process::Command::new("escript")