File tree Expand file tree Collapse file tree 2 files changed +17
-18
lines changed Expand file tree Collapse file tree 2 files changed +17
-18
lines changed Original file line number Diff line number Diff line change @@ -40,12 +40,19 @@ jobs:
40
40
runs-on : ${{ matrix.os }}
41
41
strategy :
42
42
matrix :
43
- os : [ ubuntu-latest, macos-11 ]
43
+ os : [ macos-13-xlarge ]
44
44
45
45
steps :
46
46
- name : checkout
47
47
uses : actions/checkout@v3
48
48
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
+
49
56
- run : |
50
57
unset SYSTEM
51
58
./gradlew checkFormat
64
71
shell: bash
65
72
name: test
66
73
67
- - run : |
68
- set -e pipefail
69
- # Display log files if the build failed
70
- echo "Dumping log files for failed build"
71
- echo "----------------------------------"
72
- for f in $(find $BUILD_REPOSITORY_LOCALPATH -name *.dumpstream);
73
- do echo "------"
74
- echo $f
75
- echo "======"
76
- cat $f
77
- done;
78
- shell: bash
79
- name: error_print
80
- if: ${{ failure() }}
81
-
82
74
env :
83
75
ORG_GRADLE_PROJECT_TILEDB_SERIALIZATION : OFF
84
76
ORG_GRADLE_PROJECT_TILEDB_S3 : OFF
Original file line number Diff line number Diff line change @@ -51,8 +51,15 @@ if (NOT TILEDB_FOUND)
51
51
SET (DOWNLOAD_URL "https://github.com/TileDB-Inc/TileDB/releases/download/2.16.3/tiledb-windows-x86_64-2.16.3-194b5ae.zip" )
52
52
SET (DOWNLOAD_SHA1 "8e986b6143ef9509201c7f2b3c0a7a53ff41095a" )
53
53
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 ()
56
63
else () # Linux
57
64
SET (DOWNLOAD_URL "https://github.com/TileDB-Inc/TileDB/releases/download/2.16.3/tiledb-linux-x86_64-2.16.3-194b5ae.tar.gz" )
58
65
SET (DOWNLOAD_SHA1 "6ccafbee52137478d0b8146e71a11323755c9ed5" )
You can’t perform that action at this time.
0 commit comments