mirror of
https://github.com/dgibson/dtc.git
synced 2026-07-10 13:29:48 -04:00
ci: Skip swig install for mingw32 Windows build
MSYS2 has dropped the mingw-w64-i686-swig package, causing the mingw32 CI job to fail during setup. Since the Windows build doesn't enable Python bindings anyway, conditionally install swig and python-setuptools-scm only for the 64-bit subsystems. Assisted-by: Claude:claude-opus-4-6 Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
dd1c7f1a91
commit
1aaa44849b
1 changed files with 5 additions and 6 deletions
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
|
|
@ -77,10 +77,10 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
- { sys: mingw32 }
|
||||
- { sys: mingw64 }
|
||||
- { sys: ucrt64 }
|
||||
- { sys: clang64 }
|
||||
- { sys: mingw32, swig: false }
|
||||
- { sys: mingw64, swig: true }
|
||||
- { sys: ucrt64, swig: true }
|
||||
- { sys: clang64, swig: true }
|
||||
name: ${{ matrix.sys }}
|
||||
defaults:
|
||||
run:
|
||||
|
|
@ -105,8 +105,7 @@ jobs:
|
|||
meson:p
|
||||
ninja:p
|
||||
libyaml:p
|
||||
swig:p
|
||||
python-setuptools-scm:p
|
||||
${{ matrix.swig && 'swig:p python-setuptools-scm:p' || '' }}
|
||||
|
||||
- name: '🚧 Build'
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue