From feb2cc8c317152eae632a8c3e20b363120e915d3 Mon Sep 17 00:00:00 2001 From: Cornelius Riemenschneider Date: Tue, 15 Oct 2024 16:33:32 +0200 Subject: [PATCH] debug --- .github/workflows/go-tests-other-os.yml | 14 ++++++++++++-- go/Makefile | 9 +++++++-- 2 files changed, 19 insertions(+), 4 deletions(-) diff --git a/.github/workflows/go-tests-other-os.yml b/.github/workflows/go-tests-other-os.yml index 2760a8a4b51af..d89bd652d462c 100644 --- a/.github/workflows/go-tests-other-os.yml +++ b/.github/workflows/go-tests-other-os.yml @@ -31,5 +31,15 @@ jobs: steps: - name: Check out code uses: actions/checkout@v4 - - name: Run tests - uses: ./go/actions/test + - name: dump env + shell: pwsh + run: | + Get-ChildItem Env: | Format-Table + + - name: dump env bash + shell: bash + run: | + export + where bazel + where bazelisk + bazel version diff --git a/go/Makefile b/go/Makefile index bc4bc25e5da86..7b528beb7ca94 100644 --- a/go/Makefile +++ b/go/Makefile @@ -28,9 +28,14 @@ qhelp-to-markdown: scripts/qhelp-to-markdown.sh ql/src "$(QHELP_OUT_DIR)" extractor: + export + bazel version + pwd bazel run :go-installer gen: + bazel version + pwd bazel run :gen build/stats/src.stamp: @@ -45,9 +50,9 @@ ql/lib/go.dbscheme.stats: ql/lib/go.dbscheme build/stats/src.stamp extractor codeql dataset measure -o $@ build/stats/database/db-go test: all build/testdb/check-upgrade-path - codeql test run -j0 ql/test --search-path .. --consistency-queries ql/test/consistency --compilation-cache=$(cache) + # codeql test run -j0 ql/test --search-path .. --consistency-queries ql/test/consistency --compilation-cache=$(cache) # use GOOS=linux because GOOS=darwin GOARCH=386 is no longer supported - env GOOS=linux GOARCH=386 codeql$(EXE) test run -j0 ql/test/query-tests/Security/CWE-681 --search-path .. --consistency-queries ql/test/consistency --compilation-cache=$(cache) + # env GOOS=linux GOARCH=386 codeql$(EXE) test run -j0 ql/test/query-tests/Security/CWE-681 --search-path .. --consistency-queries ql/test/consistency --compilation-cache=$(cache) cd extractor; bazel test ... bash extractor-smoke-test/test.sh || (echo "Extractor smoke test FAILED"; exit 1)