|
@@ -6,7 +6,10 @@ on:
|
|
|
|
|
|
jobs:
|
|
|
test-cpp-java-compatibility:
|
|
|
- runs-on: ubuntu-latest
|
|
|
+ strategy:
|
|
|
+ matrix:
|
|
|
+ os: [ubuntu-latest, macos-latest]
|
|
|
+ runs-on: ${{ matrix.os }}
|
|
|
steps:
|
|
|
- uses: actions/checkout@v4
|
|
|
with:
|
|
@@ -23,11 +26,17 @@ jobs:
|
|
|
with:
|
|
|
node-version: '18'
|
|
|
|
|
|
- - name: Install build dependencies
|
|
|
+ - name: Install build dependencies (Ubuntu)
|
|
|
+ if: matrix.os == 'ubuntu-latest'
|
|
|
run: |
|
|
|
sudo apt-get update
|
|
|
sudo apt-get install -y build-essential cmake
|
|
|
|
|
|
+ - name: Install build dependencies (macOS)
|
|
|
+ if: matrix.os == 'macos-latest'
|
|
|
+ run: |
|
|
|
+ brew install cmake
|
|
|
+
|
|
|
- name: Cache Gradle packages
|
|
|
uses: actions/cache@v4
|
|
|
with:
|
|
@@ -47,6 +56,6 @@ jobs:
|
|
|
if: failure()
|
|
|
uses: actions/upload-artifact@v4
|
|
|
with:
|
|
|
- name: test-output-files
|
|
|
+ name: test-output-files-${{ matrix.os }}
|
|
|
path: tests/output/
|
|
|
retention-days: 7
|