Skip to content

Commit 914dfec

Browse files
committed
update
1 parent 6c1ca26 commit 914dfec

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff 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

@@ -44,6 +45,7 @@ jobs:
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

0 commit comments

Comments
 (0)