Skip to content

build(ci): GitHub workflow to build for Intel-based Macs #1

build(ci): GitHub workflow to build for Intel-based Macs

build(ci): GitHub workflow to build for Intel-based Macs #1

Workflow file for this run

name: MacOS amd64 (Intel)
on: [push]
jobs:
build:
runs-on: macos-12
steps:
- name: Install SWIG and CMake
run: |
brew install swig
brew install cmake
- uses: actions/checkout@v3
with:
submodules: true
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'adopt'
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Build
run: ./gradlew native_macos_amd64_gcc
- name: Check results
run: ls -l build/natives/macos_amd64_gcc