-
Notifications
You must be signed in to change notification settings - Fork 7
46 lines (42 loc) · 1.13 KB
/
testing-mysql-server-8.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: Build and Test
on:
push:
branches:
- master
pull_request:
jobs:
build:
strategy:
matrix:
os: [ubuntu-22.04, ubuntu-24.04, macos-14]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up JDK 8
uses: actions/setup-java@v4
with:
java-version: '8'
distribution: 'corretto'
cache: 'maven'
- name: Set up Homebrew
if: matrix.os == 'macos-14'
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@master
- name: Install GNU binutils
if: matrix.os == 'macos-14'
run: |
brew install binutils
brew install patchelf
echo /opt/homebrew/opt/binutils/bin >> $GITHUB_PATH
- name: Install libaio-dev
if: matrix.os != 'macos-14'
run: |
sudo apt-get install -y libaio-dev
- name: Run Maven install
run: |
echo $PATH
./mvnw -B --no-transfer-progress clean install -pl testing-mysql-server-8 -am