Skip to content

Commit 2c3590c

Browse files
sbryngelsonclaude
andauthored
Fix Intel CI env corruption and remove Python 3.14 pinning (#1291)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 31899ad commit 2c3590c

2 files changed

Lines changed: 6 additions & 11 deletions

File tree

.github/workflows/lint-toolchain.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,6 @@ jobs:
1414
steps:
1515
- uses: actions/checkout@v4
1616

17-
- name: MFC Python setup
18-
uses: actions/setup-python@v5
19-
with:
20-
python-version: '3.14'
21-
2217
- name: Initialize MFC
2318
run: ./mfc.sh init
2419

.github/workflows/test.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -123,13 +123,13 @@ jobs:
123123
sudo add-apt-repository "deb https://apt.repos.intel.com/oneapi all main"
124124
sudo apt-get update
125125
sudo apt-get install -y intel-oneapi-compiler-fortran intel-oneapi-mpi intel-oneapi-mpi-devel
126+
# Export only new/changed env vars from setvars.sh.
127+
# `printenv >> $GITHUB_ENV` dumps all vars including shell internals
128+
# with special characters that corrupt GITHUB_ENV parsing.
129+
printenv | sort > /tmp/env_before
126130
source /opt/intel/oneapi/setvars.sh
127-
printenv >> $GITHUB_ENV
128-
129-
- name: Set up Python 3.14
130-
uses: actions/setup-python@v5
131-
with:
132-
python-version: '3.14'
131+
printenv | sort > /tmp/env_after
132+
diff /tmp/env_before /tmp/env_after | grep '^>' | sed 's/^> //' >> $GITHUB_ENV
133133
134134
- name: Get system info for cache key
135135
id: sys-info

0 commit comments

Comments
 (0)