|
1 | | -name: rtools40 |
| 1 | +name: rtools |
2 | 2 | on: |
3 | 3 | workflow_call: |
4 | 4 |
|
@@ -32,21 +32,25 @@ jobs: |
32 | 32 | ref: ${{ steps.vcpkg_commit.outputs.ref }} |
33 | 33 | # Vcpkg requires fetching all commits. |
34 | 34 | fetch-depth: 0 |
35 | | - - name: Install rtools40 if needed |
36 | | - uses: r-windows/install-rtools@master |
37 | | - - name: Building TileDB with Rtools40 |
| 35 | + - uses: r-lib/actions/setup-r@v2 |
| 36 | + with: |
| 37 | + r-version: '4.3' |
| 38 | + - name: Install RTools dependencies |
| 39 | + run: | |
| 40 | + pacman -Sy --noconfirm base-devel |
| 41 | + shell: c:\rtools43\usr\bin\bash.exe --login {0} |
| 42 | + - name: Build TileDB |
38 | 43 | run: | |
39 | 44 | export SystemDrive="$SYSTEMDRIVE" |
40 | 45 | export SystemRoot="$SYSTEMROOT" |
41 | 46 | export windir="$WINDIR" |
42 | 47 | cd ${GITHUB_WORKSPACE}/.github/workflows/mingw-w64-tiledb |
43 | | - pacman -Sy |
44 | 48 | makepkg-mingw --noconfirm --syncdeps |
45 | 49 | env: |
46 | 50 | TILEDB_HOME: ${{ github.workspace }} |
47 | 51 | MINGW_ARCH: ${{ matrix.msystem }} |
48 | 52 | VCPKG_ROOT: ${{ github.workspace }}/vcpkg |
49 | | - shell: c:\rtools40\usr\bin\bash.exe --login {0} |
| 53 | + shell: c:\rtools43\usr\bin\bash.exe --login {0} |
50 | 54 | - name: Set variables |
51 | 55 | shell: bash |
52 | 56 | id: get-values |
|
57 | 61 | - name: "Rename release artifact and create sha256 hash" |
58 | 62 | run: | |
59 | 63 | mkdir release |
60 | | - mv .github/workflows/mingw-w64-tiledb/*.pkg.tar.xz release/tiledb-windows-x86_64-mingw64_ucrt64-${{ steps.get-values.outputs.release_version }}.tar.xz |
61 | | - sha256sum release/tiledb-windows-x86_64-mingw64_ucrt64-${{ steps.get-values.outputs.release_version }}.tar.xz > release/tiledb-windows-x86_64-mingw64_ucrt64-${{ steps.get-values.outputs.release_version }}.tar.xz.sha256 |
| 64 | + mv .github/workflows/mingw-w64-tiledb/*.pkg.tar.zst release/tiledb-windows-x86_64-mingw64_ucrt64-${{ steps.get-values.outputs.release_version }}.tar.zst |
| 65 | + sha256sum release/tiledb-windows-x86_64-mingw64_ucrt64-${{ steps.get-values.outputs.release_version }}.tar.zst > release/tiledb-windows-x86_64-mingw64_ucrt64-${{ steps.get-values.outputs.release_version }}.tar.zst.sha256 |
62 | 66 | - name: "Upload binaries" |
63 | 67 | uses: actions/upload-artifact@v4 |
64 | 68 | with: |
|
0 commit comments