File tree 2 files changed +21
-8
lines changed
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
2
2
3
3
on :
4
4
push :
10
10
build :
11
11
strategy :
12
12
matrix :
13
- os : [ubuntu-22.04, ubuntu-24.04]
13
+ os : [ubuntu-22.04, ubuntu-24.04, macos-14 ]
14
14
fail-fast : false
15
15
runs-on : ${{ matrix.os }}
16
16
@@ -24,10 +24,23 @@ jobs:
24
24
uses : actions/setup-java@v4
25
25
with :
26
26
java-version : ' 8'
27
- distribution : ' temurin '
27
+ distribution : ' corretto '
28
28
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
29
39
- name : Install libaio-dev
40
+ if : matrix.os != 'macos-14'
30
41
run : |
31
42
sudo apt-get install -y libaio-dev
32
43
- name : 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
6
6
BASEURL=" https://dev.mysql.com/get/Downloads/MySQL-8.4"
7
7
8
8
LINUX_BASE=mysql-$VERSION -linux-glibc2.28-x86_64
9
- MACOS_BASE=mysql-$VERSION -macos14-x86_64
9
+ MACOS_BASE=mysql-$VERSION -macos14-arm64
10
10
11
11
TAR=tar
12
12
command -v gtar > /dev/null && TAR=gtar
29
29
exit 100
30
30
fi
31
31
32
- PATCHELF=PATCHELF
32
+ PATCHELF=patchelf
33
33
command -v patchelf > /dev/null && PATCHELF=patchelf
34
34
35
35
set -x
36
36
37
- cd $( dirname $0 )
37
+ cd " $( dirname $0 ) "
38
38
39
39
RESOURCES=target/generated-resources
40
40
@@ -107,5 +107,5 @@ function pack_linux() {
107
107
rm -rf $PACKDIR
108
108
}
109
109
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
111
111
test -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