我想用Alpine Linux在CI runner上编译我的项目。
这个项目是用Python和fbs模块制作的。
它可以从fbs run
开始,用fbs freeze
冻结,并且可以用fbs installer
来制作安装程序。在
但是,如果我尝试使用以下.gitlab-ci.yml
编译它:
before_script:
- alias pip="pip3"
- apk add --update --no-cache python3 python3-dev
- python3 -m ensurepip
- rm -r /usr/lib/python*/ensurepip
- pip3 install --upgrade pip setuptools
- ls
- cd code/
- apk add py3-qt5
- pip3 install wheel
- pip3 install -r production.txt
test:
stage: test
tags:
- docker-in-docker
script:
- pytest
production:
type: deploy
tags:
- docker-in-docker
script:
- ln -s /lib/libc.musl-x86_64.so.1 ldd
- ln -s /lib /lib64
- fbs freeze
- fbs installer
除fbs freeze
和fbs installer
外,所有命令都工作。
执行fbs freeze
时,将引发以下错误:
有什么办法解决这个问题吗?在
目前没有回答
相关问题 更多 >
编程相关推荐