From 7332b51bcf920f54e41619b31b2354ebc6dac863 Mon Sep 17 00:00:00 2001 From: shegden Date: Fri, 4 Feb 2022 14:40:30 -0500 Subject: [PATCH 1/5] Enable CI for Mac --- .github/workflows/matlab.yml | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/.github/workflows/matlab.yml b/.github/workflows/matlab.yml index 00d953e428e..fb9dd313046 100644 --- a/.github/workflows/matlab.yml +++ b/.github/workflows/matlab.yml @@ -37,7 +37,7 @@ concurrency: jobs: - matlab: + matlab-ubuntu: name: AMD64 Ubuntu 20.04 MATLAB runs-on: ubuntu-latest if: ${{ !contains(github.event.pull_request.title, 'WIP') }} @@ -49,7 +49,7 @@ jobs: - name: Install ninja-build run: sudo apt-get install ninja-build - name: Install MATLAB - uses: matlab-actions/setup-matlab@v0 + uses: matlab-actions/setup-matlab@v1 - name: Build MATLAB Interface run: ci/scripts/matlab_build.sh $(pwd) - name: Run MATLAB Tests @@ -68,3 +68,25 @@ jobs: uses: matlab-actions/run-tests@v1 with: select-by-folder: matlab/test + macos: + name: AMD64 MacOS 10.15 MATLAB + runs-on: macos-latest + steps: + - name: Check out repository + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Install ninja-build + run: brew install ninja + - name: Install MATLAB + uses: matlab-actions/setup-matlab@v1 + - name: Build MATLAB Interface + run: ci/scripts/matlab_build.sh $(pwd) + - name: Run MATLAB Tests + env: + # Add the installation directory to the MATLAB Search Path by + # setting the MATLABPATH environment variable. + MATLABPATH: matlab/install/arrow_matlab + uses: matlab-actions/run-tests@v1 + with: + select-by-folder: matlab/test From d20d1bb8a0ba2fec4f3479646b22f7462f335e9e Mon Sep 17 00:00:00 2001 From: shegden Date: Mon, 7 Feb 2022 15:47:09 -0500 Subject: [PATCH 2/5] Adding WIP filter for macos CI Job. --- .github/workflows/matlab.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/matlab.yml b/.github/workflows/matlab.yml index fb9dd313046..dc3dd3c58b1 100644 --- a/.github/workflows/matlab.yml +++ b/.github/workflows/matlab.yml @@ -71,6 +71,7 @@ jobs: macos: name: AMD64 MacOS 10.15 MATLAB runs-on: macos-latest + if: ${{ !contains(github.event.pull_request.title, 'WIP') }} steps: - name: Check out repository uses: actions/checkout@v2 From dd766918e57600f9adf990bdcd7bcee2eb504d5f Mon Sep 17 00:00:00 2001 From: shegden Date: Mon, 7 Feb 2022 15:53:58 -0500 Subject: [PATCH 3/5] Updating macos job name to matlab-macos to be consistent with ubuntu job name. --- .github/workflows/matlab.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/matlab.yml b/.github/workflows/matlab.yml index dc3dd3c58b1..f371eadb373 100644 --- a/.github/workflows/matlab.yml +++ b/.github/workflows/matlab.yml @@ -68,7 +68,7 @@ jobs: uses: matlab-actions/run-tests@v1 with: select-by-folder: matlab/test - macos: + matlab-macos: name: AMD64 MacOS 10.15 MATLAB runs-on: macos-latest if: ${{ !contains(github.event.pull_request.title, 'WIP') }} From 06ac576db939350b49f32deb5a7586cd04ecc32c Mon Sep 17 00:00:00 2001 From: "Sreehari B. Hegden" Date: Tue, 8 Feb 2022 12:00:44 -0500 Subject: [PATCH 4/5] Remove 'matlab' from job ids in .github/workflows/matlab.yml I will do another commit to remove 'matlab' from 'matlab-macos'. Co-authored-by: Sutou Kouhei --- .github/workflows/matlab.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/matlab.yml b/.github/workflows/matlab.yml index f371eadb373..c4bc5beffb7 100644 --- a/.github/workflows/matlab.yml +++ b/.github/workflows/matlab.yml @@ -37,7 +37,7 @@ concurrency: jobs: - matlab-ubuntu: + ubuntu: name: AMD64 Ubuntu 20.04 MATLAB runs-on: ubuntu-latest if: ${{ !contains(github.event.pull_request.title, 'WIP') }} From 06a577e4272b9338a7c39781b2f444b83b80285b Mon Sep 17 00:00:00 2001 From: shegden Date: Tue, 8 Feb 2022 12:04:29 -0500 Subject: [PATCH 5/5] Removing 'matlab' from job id 'matlab-macos'. --- .github/workflows/matlab.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/matlab.yml b/.github/workflows/matlab.yml index c4bc5beffb7..ad5c602c6db 100644 --- a/.github/workflows/matlab.yml +++ b/.github/workflows/matlab.yml @@ -68,7 +68,7 @@ jobs: uses: matlab-actions/run-tests@v1 with: select-by-folder: matlab/test - matlab-macos: + macos: name: AMD64 MacOS 10.15 MATLAB runs-on: macos-latest if: ${{ !contains(github.event.pull_request.title, 'WIP') }}