Use Arm64 builds for macos support #8
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
Check failure on line 30 in .github/workflows/testing-mysql-server-8.yml GitHub Actions / Build and TestInvalid workflow file
|
||
id: set-up-homebrew | ||
uses: Homebrew/actions/setup-homebrew@master | ||
- name: Install GNU binutils | ||
if: matrix.os == "macos-14" | ||
run: brew install binutils && echo /opt/homebrew/opt/binutils/bin/strip >> $GITHUB_PATH | ||
- name: Install libaio-dev | ||
if: matrix.os != "macos-14" | ||
run: | | ||
sudo apt-get install -y libaio-dev | ||
- name: Run Maven install | ||
run: ./mvnw -B --no-transfer-progress clean install -pl testing-mysql-server-8 -am |