@@ -20,14 +20,12 @@ jobs:
20
20
matrix :
21
21
os : [ubuntu-latest, macos-latest, windows-latest]
22
22
include :
23
- - BOOTSTRAP : ../bootstrap --enable-s3 --enable-serialization --disable-avx2 --enable-vcpkg
24
23
- os : ubuntu-latest
25
24
platform : linux-x86_64
26
25
- os : macos-latest
27
26
platform : macos-x86_64
28
27
- os : windows-latest
29
28
platform : windows-x86_64
30
- BOOTSTRAP : ../bootstrap.ps1 -EnableS3 -EnableSerialization -EnableVcpkg
31
29
- tag : dev
32
30
tag : [release-2.20, dev]
33
31
runs-on : ${{ matrix.os }}
37
35
with :
38
36
repository : TileDB-Inc/TileDB
39
37
ref : ${{ matrix.tag }}
38
+ # This must happen after checking out the repository, because Ninja gets installed
39
+ # in the repository's directory that gets removed before the checkout/
40
+ - name : Install Ninja
41
+ uses : seanmiddleditch/gha-setup-ninja@v4
42
+ - name : Setup MSVC toolset (VS 2022)
43
+ uses : TheMrMilchmann/setup-msvc-dev@v3
44
+ if : matrix.os == 'windows-latest'
45
+ with :
46
+ arch : x64
47
+ toolset : 14.39
40
48
- name : Export GitHub Actions cache variables
41
49
uses : actions/github-script@v7
42
50
with :
@@ -46,13 +54,10 @@ jobs:
46
54
- name : Build TileDB
47
55
run : |
48
56
mkdir -p build
49
- cd build
50
- ${{ matrix.BOOTSTRAP }}
51
- cmake --build . --config Release
52
- cmake --build . --config Release --target install-tiledb
53
- cd ../
54
57
mkdir -p artifacts/${{ matrix.platform }}
55
- mv build/dist/* artifacts/${{ matrix.platform }}
58
+ cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DTILEDB_SERIALIZATION=ON -DTILEDB_S3=ON -DTILEDB_VCPKG=ON -DCOMPILER_SUPPORTS_AVX2=OFF -DTILEDB_CMAKE_IDE=ON
59
+ cmake --build build -j --target tiledb
60
+ cmake --install build --prefix artifacts/${{ matrix.platform }}
56
61
57
62
# We combine the binaries of the many platforms per tag by uploading them to the same artifact.
58
63
- name : Upload native artifacts
@@ -147,7 +152,7 @@ jobs:
147
152
148
153
Create-Issue :
149
154
needs : Test-NuGet
150
- if : failure()
155
+ if : failure() && github.event_name == 'schedule'
151
156
runs-on : ubuntu-latest
152
157
steps :
153
158
- name : Checkout TileDB-CSharp
0 commit comments