File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -22,13 +22,14 @@ jobs:
2222 uses : shivammathur/setup-php@v2
2323 with :
2424 php-version : ${{ matrix.php-version }}
25+ tools : php-config
2526 extensions : mbstring
2627
27- - name : Install cross-compilation tools
28+ - name : Install cross-compilation tools for aarch64
2829 if : matrix.arch == 'aarch64-unknown-linux-gnu'
2930 run : sudo apt-get update && sudo apt-get install -y gcc-aarch64-linux-gnu
3031
31- - name : Install cross-compilation tools
32+ - name : Install cross-compilation tools for x86_64
3233 if : matrix.arch == 'x86_64-unknown-linux-gnu'
3334 run : sudo apt-get update && sudo apt-get install -y gcc-multilib
3435
4445 - name : Build project
4546 env :
4647 CC_aarch64_unknown_linux_gnu : aarch64-linux-gnu-gcc
48+ CXXFLAGS : " -march=armv8-a"
4749 run : cargo build --release --target ${{ matrix.arch }}
4850
4951 - name : Upload build artifacts
You can’t perform that action at this time.
0 commit comments