Skip to content

Conan2 recipe for wxWidgets v3.2.1 #441

Conan2 recipe for wxWidgets v3.2.1

Conan2 recipe for wxWidgets v3.2.1 #441

Workflow file for this run

env:
BPT_MATRIX_SPLIT_BY_BUILD_TYPES: "true"
CONAN_BUILD_POLICY: "missing"
CONAN_REMOTES: "https://bincrafters.jfrog.io/artifactory/api/conan/public-conan@bincrafters"
CONAN_UPLOAD: "https://bincrafters.jfrog.io/artifactory/api/conan/conan"
on:
push:
branches: ["main"]
pull_request:
# bincrafters-conventions:gha-workflow-version:14
# You can add custom environment variables above the version tag
# Do not modify the tag or anything below the tag
# This script gets automatically updated
#
# Possible configurations:
# env:
# BPT_MATRIX_SPLIT_BY_BUILD_TYPES: "false" # Possible values "false", "true", default: false
#
# You can furthermore set any environment variable understood by Conan and Conan Package Tools
#
# You can also update the event triggers, which default to
# on: [push, pull_request]
name: conan
jobs:
generate-matrix:
name: Generate Job Matrix
runs-on: ubuntu-20.04
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
env:
BPT_CONFIG_FILE_VERSION: "12"
steps:
- uses: actions/checkout@v3
with:
fetch-depth: "0"
- uses: actions/setup-python@v4
with:
python-version: "3.8"
- name: Install Package Tools
run: |
pip install git+https://github.com/bincrafters/bincrafters-package-tools@develop
conan user
- name: Generate Job Matrix
id: set-matrix
run: |
MATRIX=$(bincrafters-package-tools generate-ci-jobs --platform gha)
echo "${MATRIX}"
echo "matrix=${MATRIX}" >> $GITHUB_OUTPUT
conan:
needs: generate-matrix
runs-on: ${{ matrix.config.os }}
strategy:
fail-fast: false
matrix: ${{fromJson(needs.generate-matrix.outputs.matrix)}}
name: ${{ matrix.config.name }}
env:
BPT_CONFIG_FILE_VERSION: "12"
steps:
- uses: actions/checkout@v3
with:
fetch-depth: "0"
- uses: actions/setup-python@v4
with:
python-version: "3.8"
- name: Install Conan
env:
BPT_MATRIX: ${{toJson(matrix.config)}}
run: |
pip install git+https://github.com/bincrafters/bincrafters-package-tools@develop
# remove newlines from matrix first
matrix=$(echo ${BPT_MATRIX})
bincrafters-package-tools prepare-env --platform gha --config "${matrix}"
shell: bash
- name: Run
env:
CONAN_LOGIN_USERNAME: ${{ secrets.CONAN_LOGIN_USERNAME }}
CONAN_PASSWORD: ${{ secrets.CONAN_PASSWORD }}
run: |
bincrafters-package-tools --auto
finished:
needs: conan
runs-on: ubuntu-20.04
name: "All GitHub Actions Jobs Finished"
steps:
- name: Finish
run: |
echo "All GitHub Actions jobs finished"