File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88
99jobs :
1010 build-and-test :
11- runs-on : ubuntu-latest
1211 strategy :
1312 fail-fast : false
1413 matrix :
@@ -22,13 +21,16 @@ jobs:
2221 - arch : x86_64
2322 neon : true
2423
24+ runs-on : ${{ matrix.arch == 'aarch64' && 'ubuntu-latest-arm64' || 'ubuntu-latest' }}
25+
2526 steps :
2627 - name : Checkout repository
2728 uses : actions/checkout@v4
2829
29- - name : Set up QEMU
30- if : matrix.arch == 'aarch64'
31- uses : docker/setup-qemu-action@v3
30+ - name : Install Clang
31+ run : |
32+ sudo apt-get update
33+ sudo apt-get install -y clang
3234
3335 - name : Install Xmake
3436 uses : xmake-io/github-action-setup-xmake@v1
5254 DEFINES=$(echo "$DEFINES" | sed 's/^ *//')
5355
5456 echo "Configuring with cxxflags: $DEFINES"
55- xmake f --mode=${{ matrix.mode }} --arch=${{ matrix.arch }} --cxxflags="$DEFINES" -y
57+ xmake f --toolchain=llvm -- mode=${{ matrix.mode }} --arch=${{ matrix.arch }} --cxxflags="$DEFINES" -y
5658
5759 - name : Build all targets
5860 run : xmake build -vD -y
6163 run : xmake run tests -y
6264
6365 - name : Run benchmark
64- run : xmake run benchmark -y
66+ run : xmake run benchmark -y
You can’t perform that action at this time.
0 commit comments