File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 1111
1212    strategy :
1313      matrix :
14-         php-version : [8.1, 8.2, 8.3 ]  #  Add more PHP versions as needed
14+         php-version : [8.1, 8.2]  #  Add more PHP versions as needed
1515        arch : [x86_64-unknown-linux-gnu, aarch64-unknown-linux-gnu] 
1616
1717    steps :
2424          php-version : ${{ matrix.php-version }} 
2525          extensions : mbstring 
2626
27+       - name : Install cross-compilation tools 
28+         if : matrix.arch == 'aarch64-unknown-linux-gnu' 
29+         run : sudo apt-get update && sudo apt-get install -y gcc-aarch64-linux-gnu 
30+ 
31+       - name : Install cross-compilation tools 
32+         if : matrix.arch == 'x86_64-unknown-linux-gnu' 
33+         run : sudo apt-get update && sudo apt-get install -y gcc-multilib 
34+ 
2735      - name : Set up Rust 
2836        uses : actions-rs/toolchain@v1 
2937        with :
3442        run : rustup target add ${{ matrix.arch }} 
3543
3644      - name : Build project 
45+         env :
46+           CC_aarch64_unknown_linux_gnu : aarch64-linux-gnu-gcc 
3747        run : cargo build --release --target ${{ matrix.arch }} 
3848
3949      - name : Upload build artifacts 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments