Skip to content

Commit

Permalink
build(ci): GitHub workflow to build for Intel-based Macs
Browse files Browse the repository at this point in the history
  • Loading branch information
skaldarnar committed Mar 15, 2024
1 parent 4603718 commit 8d7979d
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/linux_amd64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,5 @@ jobs:
uses: gradle/gradle-build-action@v2
- name: Build
run: ./gradlew native_linux_amd64_gcc
- name: Check results
run: ls -l build/natives/linux_amd64_gcc
28 changes: 28 additions & 0 deletions .github/workflows/macosx_amd64.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
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_macosx_amd64_clang
- name: Check results
run: ls -l build/natives/macosx_amd64_clang

0 comments on commit 8d7979d

Please sign in to comment.