Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update mingw-w64 R windows build check CI job to rtools43 #4356

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions .github/workflows/build-rtools40.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,15 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Install rtools40 if needed
uses: r-windows/install-rtools@master
- name: Building TileDB with Rtools40
- name: Building TileDB with Rtools43
run: |
cd ${GITHUB_WORKSPACE}/.github/workflows/mingw-w64-tiledb
pacman -Sy
makepkg-mingw --noconfirm --syncdeps
env:
TILEDB_HOME: ${{ github.workspace }}
MINGW_ARCH: ${{ matrix.msystem }}
shell: c:\rtools40\usr\bin\bash.exe --login {0}
shell: c:\rtools43\usr\bin\bash.exe --login {0}
- name: "Upload binaries"
uses: actions/upload-artifact@v3
with:
Expand Down
139 changes: 22 additions & 117 deletions .github/workflows/full-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,123 +29,28 @@ concurrency:

## NOTE: the job ids below must be unique!
jobs:
ci1:
uses: ./.github/workflows/ci-linux_mac.yml
with:
ci_backend: AZURE
matrix_image: ubuntu-22.04
bootstrap_args: '--enable-azure --enable-release-symbols'

ci2:
uses: ./.github/workflows/ci-linux_mac.yml
with:
ci_backend: GCS
matrix_image: ubuntu-20.04
timeout: 120
bootstrap_args: '--enable-gcs --enable-release-symbols'

ci3:
uses: ./.github/workflows/ci-linux_mac.yml
with:
ci_option: SERIALIZATION
matrix_image: ubuntu-22.04
bootstrap_args: '--enable-serialization --enable-release-symbols'

ci4:
uses: ./.github/workflows/ci-linux_mac.yml
with:
ci_backend: HDFS
matrix_image: ubuntu-22.04
matrix_compiler_cc: 'gcc-13'
matrix_compiler_cxx: 'g++-13'
bootstrap_args: '--enable-hdfs --enable-static-tiledb --disable-werror'

ci5:
uses: ./.github/workflows/ci-linux_mac.yml
with:
ci_backend: S3
matrix_image: macos-11
timeout: 120
bootstrap_args: '--enable=s3,serialization,tools --enable-release-symbols'

ci6:
uses: ./.github/workflows/ci-linux_mac.yml
with:
ci_backend: GCS
matrix_image: macos-11
timeout: 120
bootstrap_args: '--enable-gcs --enable-release-symbols'

ci7:
uses: ./.github/workflows/ci-linux_mac.yml
with:
ci_option: Experimental
matrix_image: ubuntu-22.04
bootstrap_args: '--enable=experimental-features,serialization --enable-release-symbols'

ci8:
uses: ./.github/workflows/ci-linux_mac.yml
with:
ci_backend: S3
matrix_image: ubuntu-22.04
timeout: 120
bootstrap_args: '--enable-s3 --enable-release-symbols'

ci9:
uses: ./.github/workflows/ci-linux_mac.yml
with:
ci_option: ASAN
matrix_image: ubuntu-20.04
timeout: 120
bootstrap_args: '--enable-serialization'
asan: true

ci10:
uses: ./.github/workflows/ci-linux_mac.yml
with:
ci_backend: AZURE
matrix_image: macos-11
timeout: 120
bootstrap_args: '--enable-azure'

ci_msvc:
uses: ./.github/workflows/build-windows.yml

ci_mingw_r:
uses: ./.github/workflows/build-rtools40.yml

backward_compatibility:
uses: ./.github/workflows/build-ubuntu20.04-backwards-compatibility.yml

standalone:
uses: ./.github/workflows/unit-test-runs.yml

ci_docker:
uses: ./.github/workflows/build-dockerfile.yml

ci_rest:
uses: ./.github/workflows/ci-rest.yml
secrets: inherit

# dummy job for branch protection check
full_ci_passed:
needs: [
ci1,
ci2,
ci2,
ci3,
ci4,
ci5,
ci6,
ci7,
ci8,
ci9,
ci10,
ci_msvc,
backward_compatibility,
standalone
]
runs-on: ubuntu-22.04
steps:
- name: ''
run: echo "Complete"
# # dummy job for branch protection check
# full_ci_passed:
# needs: [
# ci1,
# ci2,
# ci2,
# ci3,
# ci4,
# ci5,
# ci6,
# ci7,
# ci8,
# ci9,
# ci10,
# ci_msvc,
# backward_compatibility,
# standalone
# ]
# runs-on: ubuntu-22.04
# steps:
# - name: ''
# run: echo "Complete"
10 changes: 2 additions & 8 deletions .github/workflows/mingw-w64-tiledb/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,19 +1,12 @@
_realname=tiledb
pkgbase=mingw-w64-${_realname}
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgver=2.9000
pkgver=2.1700
pkgrel=1
pkgdesc="Storage management library for sparse and dense array data (mingw-w64)"
arch=("any")
url="https://tiledb.com/"
license=("MIT")
depends=("${MINGW_PACKAGE_PREFIX}-lz4"
"${MINGW_PACKAGE_PREFIX}-aws-sdk-cpp"
"${MINGW_PACKAGE_PREFIX}-bzip2"
"${MINGW_PACKAGE_PREFIX}-curl"
"${MINGW_PACKAGE_PREFIX}-zlib"
"${MINGW_PACKAGE_PREFIX}-zstd"
)
makedepends=("${MINGW_PACKAGE_PREFIX}-cmake"
"${MINGW_PACKAGE_PREFIX}-gcc")
options=("staticlibs" "strip")
Expand All @@ -35,6 +28,7 @@ build() {
export MSYS2_ARG_CONV_EXCL="-DCMAKE_INSTALL_PREFIX="
${MINGW_PREFIX}/bin/cmake.exe \
-G"MSYS Makefiles" \
-DTILEDB_VCPKG=ON \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
-DTILEDB_VCPKG=ON \

We don't need that anymore.

-DCMAKE_INSTALL_PREFIX=${MINGW_PREFIX} \
-DBUILD_SHARED_LIBS=OFF \
-DCMAKE_BUILD_TYPE=Release \
Expand Down
Loading