Add default options and switch to building RocksDB #7
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Debian | |
| on: | |
| push: | |
| paths: | |
| - .github/workflows/debian.yml | |
| - recipes | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| defaults: | |
| run: | |
| shell: bash | |
| env: | |
| CONAN_URL: ${{ secrets.CONAN_URL }} | |
| CONAN_LOGIN_USERNAME_XRPLF: ${{ secrets.CONAN_USERNAME }} | |
| CONAN_PASSWORD_XRPLF: ${{ secrets.CONAN_PASSWORD }} | |
| CONAN_GLOBAL_CONF: | | |
| core.download:parallel={{ os.cpu_count() }} | |
| core.upload:parallel={{ os.cpu_count() }} | |
| core:default_build_profile=default | |
| core:default_profile=default | |
| tools.build:verbosity=verbose | |
| tools.compilation:verbosity=verbose | |
| CONAN_DEFAULT_OPTIONS: >- | |
| -o assertions=False | |
| -o coverage=False | |
| -o fPIC=True | |
| -o jemalloc=False | |
| -o rocksdb=True | |
| -o shared=False | |
| -o static=True | |
| -o tests=False | |
| -o date/*:header_only=True | |
| -o grpc/*:shared=False | |
| -o grpc/*:secure=True | |
| -o libarchive/*:shared=False | |
| -o libarchive/*:with_acl=False | |
| -o libarchive/*:with_bzip2=False | |
| -o libarchive/*:with_cng=False | |
| -o libarchive/*:with_expat=False | |
| -o libarchive/*:with_iconv=False | |
| -o libarchive/*:with_libxml2=False | |
| -o libarchive/*:with_lz4=True | |
| -o libarchive/*:with_lzma=False | |
| -o libarchive/*:with_lzo=False | |
| -o libarchive/*:with_nettle=False | |
| -o libarchive/*:with_openssl=False | |
| -o libarchive/*:with_pcreposix=False | |
| -o libarchive/*:with_xattr=False | |
| -o libarchive/*:with_zlib=False | |
| -o lz4/*:shared=False | |
| -o openssl/*:shared=False | |
| -o protobuf/*:shared=False | |
| -o protobuf/*:with_zlib=True | |
| -o rocksdb/*:enable_sse=False | |
| -o rocksdb/*:lite=False | |
| -o rocksdb/*:shared=False | |
| -o rocksdb/*:use_rtti=True | |
| -o rocksdb/*:with_jemalloc=False | |
| -o rocksdb/*:with_lz4=True | |
| -o rocksdb/*:with_snappy=True | |
| -o snappy/*:shared=False | |
| -o soci/*:shared=False | |
| -o soci/*:with_sqlite3=True | |
| -o soci/*:with_boost=True | |
| -o xxhash/*:shared=False | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| architecture: | |
| - runner: ubuntu-24.04 | |
| # - runner: ubuntu-24.04-arm | |
| docker: | |
| - image: ghcr.io/xrplf/ci/debian-bookworm:gcc-12 | |
| # - image: ghcr.io/xrplf/ci/debian-bookworm:gcc-13 | |
| # - image: ghcr.io/xrplf/ci/debian-bookworm:gcc-14 | |
| # - image: ghcr.io/xrplf/ci/debian-bookworm:clang-16 | |
| # - image: ghcr.io/xrplf/ci/debian-bookworm:clang-17 | |
| # - image: ghcr.io/xrplf/ci/debian-bookworm:clang-18 | |
| # - image: ghcr.io/xrplf/ci/debian-bookworm:clang-19 | |
| # - image: ghcr.io/xrplf/ci/debian-bookworm:clang-20 | |
| build: | |
| - type: Debug | |
| # - type: Release | |
| package: | |
| - name: rocksdb | |
| version: 10.0.1 | |
| runs-on: ${{ matrix.architecture.runner }} | |
| container: ${{ matrix.docker.image }} | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Configure Conan | |
| run: | | |
| echo "${CONAN_GLOBAL_CONF}" >> $(conan config home)/global.conf | |
| conan config install profiles/ -tf $(conan config home)/profiles/ | |
| - name: Build the recipe | |
| working-directory: recipes/${{ matrix.package.name }}/all | |
| run: | | |
| conan create . \ | |
| --version ${{ matrix.package.version }} \ | |
| --build=missing \ | |
| --settings=build_type=${{ matrix.build.type }} \ | |
| --update \ | |
| ${{ env.CONAN_DEFAULT_OPTIONS }} | |
| - name: Upload the recipe | |
| run: | | |
| conan upload '${{ matrix.package.name }}' \ | |
| --remote ${{ env.CONAN_URL }} \ | |
| --confirm \ | |
| --dry-run |