File tree Expand file tree Collapse file tree 2 files changed +17
-3
lines changed Expand file tree Collapse file tree 2 files changed +17
-3
lines changed Original file line number Diff line number Diff line change @@ -40,12 +40,19 @@ jobs:
4040 runs-on : ${{ matrix.os }}
4141 strategy :
4242 matrix :
43- os : [ ubuntu-latest, macos-11 ]
43+ os : [ macos-13-xlarge ]
4444
4545 steps :
4646 - name : checkout
4747 uses : actions/checkout@v3
4848
49+ - name : Set up Java
50+ uses : actions/setup-java@v3
51+ with :
52+ distribution : ' adopt'
53+ java-version : ' 11'
54+ check-latest : true
55+
4956 - run : |
5057 unset SYSTEM
5158 ./gradlew checkFormat
Original file line number Diff line number Diff line change @@ -51,8 +51,15 @@ if (NOT TILEDB_FOUND)
5151 SET (DOWNLOAD_URL "https://github.com/TileDB-Inc/TileDB/releases/download/2.16.3/tiledb-windows-x86_64-2.16.3-194b5ae.zip" )
5252 SET (DOWNLOAD_SHA1 "8e986b6143ef9509201c7f2b3c0a7a53ff41095a" )
5353 elseif (APPLE ) # macOS
54- SET (DOWNLOAD_URL "https://github.com/TileDB-Inc/TileDB/releases/download/2.16.3/tiledb-macos-x86_64-2.16.3-194b5ae.tar.gz" )
55- SET (DOWNLOAD_SHA1 "b4d35306771d1c30b49bf2a98651e8e24c91037e" )
54+ if (CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64" )
55+ message (STATUS "Building for intel mac" )
56+ SET (DOWNLOAD_URL "https://github.com/TileDB-Inc/TileDB/releases/download/2.16.3/tiledb-macos-x86_64-2.16.3-194b5ae.tar.gz" )
57+ SET (DOWNLOAD_SHA1 "b4d35306771d1c30b49bf2a98651e8e24c91037e" )
58+ else ()
59+ message (STATUS "Building for apple silicon mac" )
60+ SET (DOWNLOAD_URL "https://github.com/TileDB-Inc/TileDB/releases/download/2.16.3/tiledb-macos-arm64-2.16.3-194b5ae.tar.gz" )
61+ SET (DOWNLOAD_SHA1 "1f3f0e7660ed54b8988bdfcc4876021bf57d58da" )
62+ endif ()
5663 else () # Linux
5764 SET (DOWNLOAD_URL "https://github.com/TileDB-Inc/TileDB/releases/download/2.16.3/tiledb-linux-x86_64-2.16.3-194b5ae.tar.gz" )
5865 SET (DOWNLOAD_SHA1 "6ccafbee52137478d0b8146e71a11323755c9ed5" )
You can’t perform that action at this time.
0 commit comments