diff --git a/.github/workflows/qemu.yml b/.github/workflows/qemu.yml index b69c7cf..5c8695e 100644 --- a/.github/workflows/qemu.yml +++ b/.github/workflows/qemu.yml @@ -97,6 +97,8 @@ jobs: rm -f /usr/bin/ld && ln -s /host/usr/bin/${TOOLCHAIN_NAME}-ld /usr/bin/ld && rm -f /usr/bin/ld.bfd && ln -s /host/usr/bin/${TOOLCHAIN_NAME}-ld.bfd /usr/bin/ld.bfd && rm -f /usr/bin/ninja && ln -s /host/usr/bin/ninja /usr/bin/ninja && + rm -f /use/include/stddef.h && ln -s /host/usr/include/${TOOLCHAIN_NAME}/include/stddef.h /use/include/stddef.h && + rm -f /use/include/limits.h && ln -s /host/usr/include/${TOOLCHAIN_NAME}/include/limits.h /use/include/limits.h && git config --global --add safe.directory /gfort2py && python -m pip install build wheel pytest && rm -f /usr/local/bin/ninja && mkdir -p /usr/local/bin && ln -s /host/usr/bin/ninja /usr/local/bin/ninja @@ -113,7 +115,7 @@ jobs: run: | docker run --rm -e "TERM=xterm-256color" -v $(pwd):/gfort2py -v /:/host the_container \ /bin/script -e -q -c "/bin/bash --noprofile --norc -eo pipefail -c ' - cd /gfort2py && python -m pip --global-option=build_ext --global-option="-I/usr/include/${TOOLCHAIN_NAME}/include/" install . + cd /gfort2py && python -m pip install . '" - name: Run Tests run: |