File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -81,12 +81,22 @@ jobs:
8181 - name : Configure (linux)
8282 if : runner.os == 'Linux'
8383 working-directory : tests
84- run : xmake f -P . -y -vv
84+ run : |
85+ MUSL_VER=$(python3 -c "import json; print(json.load(open('../.xlings.json'))['workspace']['musl-gcc']['linux'])")
86+ MUSL_SDK="$HOME/.xlings/data/xpkgs/xim-x-musl-gcc/${MUSL_VER}"
87+ xmake f -P . -y -vv \
88+ --sdk="${MUSL_SDK}" \
89+ --cross=x86_64-linux-musl- \
90+ --cc="${MUSL_SDK}/bin/x86_64-linux-musl-gcc" \
91+ --cxx="${MUSL_SDK}/bin/x86_64-linux-musl-g++"
8592
8693 - name : Configure (macos)
8794 if : runner.os == 'macOS'
8895 working-directory : tests
89- run : xmake f -P . -y -vv --toolchain=llvm
96+ run : |
97+ LLVM_VER=$(python3 -c "import json; print(json.load(open('../.xlings.json'))['workspace']['llvm']['macosx'])")
98+ LLVM_SDK="$HOME/.xlings/data/xpkgs/xim-x-llvm/${LLVM_VER}"
99+ xmake f -P . -y -vv --toolchain=llvm --sdk="${LLVM_SDK}"
90100
91101 - name : Configure (windows)
92102 if : runner.os == 'Windows'
You can’t perform that action at this time.
0 commit comments