Skip to content
Merged
Show file tree
Hide file tree
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
6 changes: 3 additions & 3 deletions .github/workflows/build-uc2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ jobs:
matrix:
config:
- {
os: macos-13, # x64
os: macos-14, # x64
arch: x64,
name: 'macos-x64 cmake shared',
shared: 'yes',
Expand All @@ -257,7 +257,7 @@ jobs:
generators: 'Ninja'
}
- {
os: macos-13,
os: macos-14,
arch: x64,
name: 'macos-x64 cmake static',
shared: 'no',
Expand All @@ -284,7 +284,7 @@ jobs:
generators: 'Ninja'
}
- {
os: macos-13,
os: macos-15-intel,
arch: x86_64,
name: 'android cmake',
artifact: 'Android-x86_64.7z',
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/build-wheels-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
- { os: ubuntu-24.04-arm, arch: aarch64, cibw_build: 'cp*-manylinux*', cibw_skip: 'cp36*' }
# aarch64 - musllinux
- { os: ubuntu-24.04-arm, arch: aarch64, cibw_build: 'cp*-musllinux*', cibw_skip: 'cp36*' }
- { os: macos-13, arch: x86_64, cibw_build: 'cp*', cibw_skip: 'cp36*' }
- { os: macos-14, arch: x86_64, cibw_build: 'cp*', cibw_skip: 'cp36*' }
- { os: macos-14, arch: arm64, cibw_build: 'cp*', cibw_skip: 'cp36* cp37*' }
- { os: windows-2022, arch: AMD64, cibw_build: 'cp*', cibw_skip: 'cp36*' }
- { os: windows-2022, arch: x86, cibw_build: 'cp*', cibw_skip: 'cp36*' }
Expand Down Expand Up @@ -134,7 +134,7 @@ jobs:
python3 -m pip install -U pip wheel
python3 -m wheel tags --python-tag='py2' --abi-tag=none wheelhouse/*cp37*.whl

- uses: LizardByte/actions/actions/setup_python@v2025.715.25226
- uses: LizardByte/actions/actions/setup_python@master
if: (runner.os == 'Linux' && (matrix.arch == 'x86_64' || matrix.arch == 'aarch64') && matrix.cibw_build == 'cp*-manylinux*') || (runner.os == 'macOS' && matrix.arch == 'arm64') || (runner.os == 'Windows' && matrix.arch == 'AMD64')
with:
python-version: 2.7
Expand All @@ -144,8 +144,9 @@ jobs:
if: runner.os == 'Windows' && matrix.arch == 'AMD64'
shell: bash
run: |
C:/Python27/python.exe -m pip install capstone==4.0.2 wheelhouse/*py2*.whl
C:/Python27/python.exe -m unittest discover tests/regress "*.py"
pyenv local 2.7
python.exe -m pip install capstone==4.0.2 wheelhouse/*py2*.whl
python.exe -m unittest discover tests/regress "*.py"

# NOTE: no python2.7 support for macos-13: https://github.com/LizardByte/setup-python-action/issues/2
- name: 'Python 2.7 tests - Non-Windows'
Expand Down
7 changes: 6 additions & 1 deletion qemu/configure
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,14 @@ ld_has() {
# make source path absolute
source_path=$(cd "$(dirname -- "$0")"; pwd)

# Avoid having D:\ in $PWD under MinGW.
PWD=$(pwd)
if command -v cygpath >/dev/null 2>&1; then
PWD=$(cygpath -u "$PWD")
fi
if printf %s\\n "$source_path" "$PWD" | grep -q "[[:space:]:]";
then
error_exit "main directory cannot contain spaces nor colons"
error_exit "main directory $source_path or $PWD cannot contain spaces nor colons"
fi

# default parameters
Expand Down
Loading