File tree Expand file tree Collapse file tree 2 files changed +21
-8
lines changed Expand file tree Collapse file tree 2 files changed +21
-8
lines changed Original file line number Diff line number Diff line change 1- name : Java Maven Build 
1+ name : Build and Test 
22
33on :
44  push :
1010  build :
1111    strategy :
1212      matrix :
13-         os : [ubuntu-22.04, ubuntu-24.04] 
13+         os : [ubuntu-22.04, ubuntu-24.04, macos-14 ] 
1414      fail-fast : false 
1515    runs-on : ${{ matrix.os }} 
1616
@@ -24,10 +24,23 @@ jobs:
2424        uses : actions/setup-java@v4 
2525        with :
2626          java-version : ' 8' 
27-           distribution : ' temurin ' 
27+           distribution : ' corretto ' 
2828          cache : ' maven' 
29+       - name : Set up Homebrew 
30+         if : matrix.os == 'macos-14' 
31+         id : set-up-homebrew 
32+         uses : Homebrew/actions/setup-homebrew@master 
33+       - name : Install GNU binutils 
34+         if : matrix.os == 'macos-14' 
35+         run : | 
36+           brew install binutils 
37+           brew install patchelf 
38+           echo /opt/homebrew/opt/binutils/bin >> $GITHUB_PATH 
2939name : Install libaio-dev 
40+         if : matrix.os != 'macos-14' 
3041        run : | 
3142          sudo apt-get install -y libaio-dev 
3243name : Run Maven install 
33-         run : ./mvnw -B --no-transfer-progress clean install -pl testing-mysql-server-8 -am 
44+         run : | 
45+           echo $PATH 
46+           ./mvnw -B --no-transfer-progress clean install -pl testing-mysql-server-8 -am 
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ VERSION=8.4.3
66BASEURL=" https://dev.mysql.com/get/Downloads/MySQL-8.4" 
77
88LINUX_BASE=mysql-$VERSION -linux-glibc2.28-x86_64
9- MACOS_BASE=mysql-$VERSION -macos14-x86_64 
9+ MACOS_BASE=mysql-$VERSION -macos14-arm64 
1010
1111TAR=tar
1212command  -v gtar > /dev/null &&  TAR=gtar
2929    exit  100
3030fi 
3131
32- PATCHELF=PATCHELF 
32+ PATCHELF=patchelf 
3333command  -v patchelf > /dev/null &&  PATCHELF=patchelf
3434
3535set  -x
3636
37- cd  $( dirname $0 ) 
37+ cd  " $( dirname $0 ) " 
3838
3939RESOURCES=target/generated-resources
4040
@@ -107,5 +107,5 @@ function pack_linux() {
107107    rm -rf $PACKDIR 
108108}
109109
110- test  -e $RESOURCES /mysql-Mac_OS_X-amd64 .tar.gz ||  pack_macos $MACOS_DIST  $MACOS_BASE  mysql-Mac_OS_X-amd64 .tar.gz
110+ test  -e $RESOURCES /mysql-Mac_OS-aarch64 .tar.gz ||  pack_macos $MACOS_DIST  $MACOS_BASE  mysql-Mac_OS-aarch64 .tar.gz
111111test  -e $RESOURCES /mysql-Linux-amd64.tar.gz ||  pack_linux $LINUX_DIST  $LINUX_BASE  mysql-Linux-amd64.tar.gz
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments