Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 5 additions & 8 deletions .github/workflows/matrix-debug.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,8 @@ jobs:
- name: Set Python version
shell: bash
run: |
if [[ "${{ matrix.name }}" == "windows-x64" ]] ; then
DIST=windows
ARCH=x64
else
DIST=${{ matrix.distro}}-${{ matrix.distro-version}}
ARCH=${{ matrix.arch }}
fi
DIST=${{ matrix.distro}}-${{ matrix.distro-version}}
ARCH=${{ matrix.arch }}

if [[ "$DIST" == "sles-12sp5" ]] || [[ "$DIST" == "el-7" ]] || [[ "$DIST" == "el-9" ]] ; then
echo "PYTHON_VERSION=3.9" >> $GITHUB_ENV
Expand Down Expand Up @@ -117,8 +112,10 @@ jobs:

rm -f pip_requirements.txt
venv/bin/pip freeze | tee -a requirements.${{ matrix.distro }}-${{ matrix.distro-version }}-${{ matrix.arch }}.txt

# add windows specific packages back
if [[ "${{ matrix.distro }}" == "windows" ]]; then
grep -w win32 requirements.txt >> requirements.${{ matrix.distro }}-${{ matrix.distro-version }}-${{ matrix.arch }}.txt
grep 'sys_platform=="win32"' requirements.txt >> requirements.${{ matrix.distro }}-${{ matrix.distro-version }}-${{ matrix.arch }}.txt
fi


Expand Down