Skip to content

Commit

Permalink
Restore CI
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Zhu <[email protected]>
  • Loading branch information
peterzhuamazon committed Oct 27, 2022
1 parent 5247114 commit 349b4fb
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ jobs:
strategy:
matrix:
java: [11, 17]
os: [ubuntu-latest, macos-latest]

name: Build and Test k-NN Plugin
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}

steps:
- name: Checkout k-NN
Expand All @@ -29,10 +30,17 @@ jobs:
with:
java-version: ${{ matrix.java }}

- name: Install dependencies
- name: Install dependencies on ubuntu
if: startsWith(matrix.os,'ubuntu')
run: |
sudo apt-get install libopenblas-dev gfortran -y
- name: Install dependencies on macos
if: startsWith(matrix.os, 'macos')
run: |
brew reinstall gcc
export FC=/usr/local/Cellar/gcc/12.2.0/bin/gfortran
- name: Run build
run: |
./gradlew build
Expand Down

0 comments on commit 349b4fb

Please sign in to comment.