test www
This commit is contained in:
@@ -3,7 +3,8 @@
|
|||||||
# 国内源 + apt cache
|
# 国内源 + apt cache
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: apt-cache
|
- type: cache
|
||||||
|
name: apt-cache
|
||||||
path: /var/cache/apt
|
path: /var/cache/apt
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@@ -24,7 +25,6 @@ steps:
|
|||||||
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ $(lsb_release -cs)-backports main restricted universe multiverse
|
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ $(lsb_release -cs)-backports main restricted universe multiverse
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# 安装依赖
|
|
||||||
- apt-get update -y
|
- apt-get update -y
|
||||||
- apt-get install -y curl git build-essential clang llvm mingw-w64 ninja-build jq
|
- apt-get install -y curl git build-essential clang llvm mingw-w64 ninja-build jq
|
||||||
|
|
||||||
@@ -38,7 +38,7 @@ steps:
|
|||||||
- mkdir -p dist
|
- mkdir -p dist
|
||||||
- cp `xmake u -o`/Fig dist/Fig-linux
|
- cp `xmake u -o`/Fig dist/Fig-linux
|
||||||
|
|
||||||
# 构建 Windows release (cross compile)
|
# 构建 Windows release
|
||||||
- xmake f -m release --plat=windows --arch=x86_64 --cc=x86_64-w64-mingw32-g++ --cxx=x86_64-w64-mingw32-g++
|
- xmake f -m release --plat=windows --arch=x86_64 --cc=x86_64-w64-mingw32-g++ --cxx=x86_64-w64-mingw32-g++
|
||||||
- xmake -v
|
- xmake -v
|
||||||
- cp `xmake u -o`/Fig.exe dist/Fig-windows.exe
|
- cp `xmake u -o`/Fig.exe dist/Fig-windows.exe
|
||||||
|
|||||||
Reference in New Issue
Block a user