Skip to content

Add debug and release build types to matrix #5

Add debug and release build types to matrix

Add debug and release build types to matrix #5

Workflow file for this run

name: Debian
on:
push:
paths:
- .github/workflows/debian.yml
- recipes
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
CONAN_URL: ${{ secrets.CONAN_URL }}
CONAN_LOGIN_USERNAME_XRPLF: ${{ secrets.CONAN_USERNAME }}
CONAN_PASSWORD_XRPLF: ${{ secrets.CONAN_PASSWORD }}
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: snappy
version: 1.1.10
runs-on: ${{ matrix.architecture.runner }}
container: ${{ matrix.docker.image }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- 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
- name: Upload the recipe
run: |
conan upload '${{ matrix.package.name }}' \
--remote ${{ env.CONAN_URL }} \
--confirm \
--dry-run