name: Conan Packaging on: push: branches: - '**' workflow_dispatch: env: CCACHE_BASEDIR: ${{ github.workspace }} jobs: conan-packages: runs-on: ubuntu-latest timeout-minutes: 120 container: image: git.romainboullard.com/bigfootdev/linuxcppbuilder:${{ github.ref_name }} strategy: matrix: package: [ { name: "eabase", version: "01082025", location: "all", needs_pkg: "" }, { name: "eastl", version: "3.27.01", location: "all", needs_pkg: "eabase" }, { name: "pixelmatch-cpp17", version: "1.0.3", location: "all", needs_pkg: "" }, { name: "lodepng", version: "cci.20250727", location: "all", needs_pkg: "" }, { name: "stduuid", version: "1.2.3", location: "all", needs_pkg: "" }, { name: "flatbuffers", version: "25.12.19", location: "all", needs_pkg: "" }, { name: "vulkan-memory-allocator", version: "3.3.0", location: "all", needs_pkg: "" }, { name: "vulkan-utility-libraries", version: "1.4.313.0", location: "all", needs_pkg: "" }, { name: "vulkan-validationlayers", version: "1.4.313.0", location: "all", needs_pkg: "vulkan-utility-libraries" }, { name: "shaderc", version: "2025.3", location: "all", needs_pkg: "" }, { name: "unordered_dense", version: "4.8.1", location: "all", needs_pkg: "" }, { name: "mimalloc", version: "3.1.5", location: "all", needs_pkg: "" }, { name: "meshoptimizer", version: "1.0", location: "all", needs_pkg: "" }, { name: "sqlite3", version: "3.51.0", location: "all", needs_pkg: "" }, { name: "rapidhash", version: "3.0", location: "all", needs_pkg: "" } ] steps: - name: Install Node.js run: apt-get update && apt-get install -y nodejs npm - name: Checkout repository uses: actions/checkout@v6 with: submodules: recursive - name: Show ccache stats before run: ccache --zero-stats - name: Run Conan packaging run: | echo "Building ${{ matrix.package.name }}@${{ matrix.package.version }}" CONAN_LOGIN_USERNAME=${{ secrets.GITLAB_CONAN_USER }} \ CONAN_PASSWORD=${{ secrets.GITLAB_CONAN_PASSWORD }} \ conan create ./${{ matrix.package.name }}/${{ matrix.package.location }} \ --version=${{ matrix.package.version }} \ -pr:b=./clang -pr:h=./clang \ --build=missing --remote=bigfootpackages CONAN_LOGIN_USERNAME=${{ secrets.GITLAB_CONAN_USER }} \ CONAN_PASSWORD=${{ secrets.GITLAB_CONAN_PASSWORD }} \ conan upload ${{ matrix.package.name }}/${{ matrix.package.version }}@ \ --only-recipe --remote=bigfootpackages - name: Show ccache stats after run: ccache --show-stats