Skip to content

macos-build

macos-build #218

Workflow file for this run

name: macos-build
on:
push:
branches:
- master # build after merging code to master
pull_request:
branches:
- master # build after opening a new PR
schedule:
- cron: '0 2 * * *' # run at 2 AM UTC
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [macos-latest]
jdk: [11, 14, 16]
runs-on: ${{ matrix.os }}
env:
JDK_VERSION: ${{ matrix.jdk }}
steps:
- name: checkout repository code
uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v2
with:
java-version: ${{ matrix.jdk }}
distribution: 'adopt'
- name: Install botan
run: brew install botan
- name: Build with Maven
run: mvn --batch-mode --update-snapshots verify