Skip to content

Commit ac57bbc

Browse files
committed
Add env: ${{ matrix.env }} to tier2 and 3 jobs
Default PATH seems to not be evaluated even in defined in jsonnet file, manually set
1 parent 7e8f1eb commit ac57bbc

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/ci-matrix-gen.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ jobs:
106106
- name: Install system packages on macOS
107107
if: ${{ runner.os == 'macOS' && matrix.system_packages }}
108108
run: |
109+
echo $PATH
109110
brew update
110111
for pkg in ${{ matrix.system_packages }}; do
111112
brew install "$pkg" || true
@@ -231,6 +232,7 @@ jobs:
231232
if: ${{ success() || inputs.jobs_to_run }}
232233
needs: [generate-tier2, tier1]
233234
runs-on: ${{ matrix.os }}
235+
env: ${{ matrix.env }}
234236
strategy:
235237
fail-fast: false
236238
matrix:
@@ -241,6 +243,7 @@ jobs:
241243
if: ${{ success() || inputs.jobs_to_run }}
242244
needs: [generate-tier3, tier2]
243245
runs-on: ${{ matrix.os }}
246+
env: ${{ matrix.env }}
244247
strategy:
245248
fail-fast: false
246249
matrix:

ci/python-gate.libsonnet

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@
151151
darwin: {
152152
common: ENV_POSIX + {
153153
LC_CTYPE: "en_US.UTF-8",
154+
PATH: utils.path_combine(ENVIRONMENT.common.PATH, "$PYTHON3_HOME:$MUSL_TOOLCHAIN/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/homebrew/bin:/opt/homebrew/sbin"),
154155
},
155156
amd64: {},
156157
aarch64: {},
@@ -169,7 +170,7 @@
169170
LD_LIBRARY_PATH: "$LIBGMP/lib:$LLVM/lib:$LD_LIBRARY_PATH",
170171
FORK_COUNTS_DIRECTORY: "$BUILD_DIR/benchmarking-config/fork-counts",
171172
RODINIA_DATASET_ZIP: $.overlay_imports.RODINIA_DATASET_ZIP,
172-
PATH: utils.path_combine(ENVIRONMENT.common.PATH, "$PYTHON3_HOME:$PATH:$MUSL_TOOLCHAIN/bin"),
173+
PATH: utils.path_combine(ENVIRONMENT.common.PATH, "$PYTHON3_HOME:$MUSL_TOOLCHAIN/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin"),
173174
},
174175

175176
// This is the diff to 'ENVIRONMENT' and meant to be used on OL8 images.

0 commit comments

Comments
 (0)