GiteaCI #1

Merged
rboullard merged 21 commits from GiteaCI into Development 2026-01-25 23:10:00 +00:00
2 changed files with 167 additions and 123 deletions
Showing only changes of commit 6e32dfa0cd - Show all commits

167
.gitea/workflows/ci.yml Normal file
View File

@@ -0,0 +1,167 @@
name: Conan Packaging
on:
push:
branches:
- '**'
workflow_dispatch:
env:
BRANCH_NAME: ${{ github.ref_name }}
CCACHE_BASEDIR: ${{ github.workspace }}
jobs:
conan-package-template:
runs-on: ubuntu-latest
timeout-minutes: 120
container:
image: git.romainboullard.com/bigfootdev/linuxcppbuilder:${{ env.BRANCH_NAME }}
defaults:
run:
shell: bash
steps:
- 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 $PACKAGE@$VERSION"
CONAN_LOGIN_USERNAME=${{ secrets.GITLAB_CONAN_USER }} \
CONAN_PASSWORD=${{ secrets.GITLAB_CONAN_PASSWORD }} \
conan create ./$PACKAGE/$LOCATION --version=$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 $PACKAGE/$VERSION@ --only-recipe --remote=bigfootpackages
- name: Show ccache stats after
run: ccache --show-stats
# --- Individual Package Jobs ---
PackageEABase:
name: Package EA Base
needs: []
uses: ./.github/workflows/conan-package-template.yml
with:
PACKAGE: 'eabase'
VERSION: '01082025'
LOCATION: 'all'
PackageEASTL:
name: Package EASTL
needs: PackageEABase
uses: ./.github/workflows/conan-package-template.yml
with:
PACKAGE: 'eastl'
VERSION: '3.27.01'
LOCATION: 'all'
PackagePixelMatch:
name: Package PixelMatch
needs: []
uses: ./.github/workflows/conan-package-template.yml
with:
PACKAGE: 'pixelmatch-cpp17'
VERSION: '1.0.3'
PackageLodePNG:
name: Package LodePNG
needs: []
uses: ./.github/workflows/conan-package-template.yml
with:
PACKAGE: 'lodepng'
VERSION: 'cci.20250727'
PackageStduuid:
name: Package stduuid
needs: []
uses: ./.github/workflows/conan-package-template.yml
with:
PACKAGE: 'stduuid'
VERSION: '1.2.3'
PackageFlatbuffers:
name: Package Flatbuffers
needs: []
uses: ./.github/workflows/conan-package-template.yml
with:
PACKAGE: 'flatbuffers'
VERSION: '25.12.19'
PackageVulkanMemoryAllocator:
name: Package VulkanMemoryAllocator
needs: []
uses: ./.github/workflows/conan-package-template.yml
with:
PACKAGE: 'vulkan-memory-allocator'
VERSION: '3.3.0'
PackageVulkanUtilityLibraries:
name: Package VulkanUtilityLibraries
needs: []
uses: ./.github/workflows/conan-package-template.yml
with:
PACKAGE: 'vulkan-utility-libraries'
VERSION: '1.4.313.0'
PackageVulkanValidationLayers:
name: Package VulkanValidationLayers
needs: PackageVulkanUtilityLibraries
uses: ./.github/workflows/conan-package-template.yml
with:
PACKAGE: 'vulkan-validationlayers'
VERSION: '1.4.313.0'
PackageShaderC:
name: Package ShaderC
needs: []
uses: ./.github/workflows/conan-package-template.yml
with:
PACKAGE: 'shaderc'
VERSION: '2025.3'
PackageUnorderedDense:
name: Package UnorderedDense
needs: []
uses: ./.github/workflows/conan-package-template.yml
with:
PACKAGE: 'unordered_dense'
VERSION: '4.8.1'
PackageMimalloc:
name: Package Mimalloc
needs: []
uses: ./.github/workflows/conan-package-template.yml
with:
PACKAGE: 'mimalloc'
VERSION: '3.1.5'
PackageMeshOptimizer:
name: Package MeshOptimizer
needs: []
uses: ./.github/workflows/conan-package-template.yml
with:
PACKAGE: 'meshoptimizer'
VERSION: '1.0'
PackageSQLite3:
name: Package SQLite3
needs: []
uses: ./.github/workflows/conan-package-template.yml
with:
PACKAGE: 'sqlite3'
VERSION: '3.51.0'
PackageRapidHash:
name: Package RapidHash
needs: []
uses: ./.github/workflows/conan-package-template.yml
with:
PACKAGE: 'rapidhash'
VERSION: '3.0'

View File

@@ -1,123 +0,0 @@
variables:
GIT_SUBMODULE_STRATEGY: recursive
stages:
- packaging
.Packaging:
variables:
PACKAGE: 'Unknown'
VERSION: 'Unknown'
LOCATION: 'all'
CCACHE_BASEDIR: $CI_PROJECT_DIR
image: registry.gitlab.com/bigfootdev/docker/linuxcppbuilder:main
stage: packaging
before_script:
- ccache --zero-stats
script:
- CONAN_LOGIN_USERNAME=${GITLAB_CONAN_USER} CONAN_PASSWORD=${GITLAB_CONAN_PASSWORD} conan create ./$PACKAGE/$LOCATION --version=$VERSION -pr:b=./clang -pr:h=./clang --build=missing --remote=bigfootpackages
- CONAN_LOGIN_USERNAME=${GITLAB_CONAN_USER} CONAN_PASSWORD=${GITLAB_CONAN_PASSWORD} conan upload $PACKAGE/$VERSION@ --only-recipe --remote=bigfootpackages
after_script:
- ccache --show-stats
dependencies: []
tags:
- linux
- c++
- bigfootdev
only:
variables:
- $CI_COMMIT_REF_PROTECTED
PackageEABase:
extends: .Packaging
variables:
PACKAGE: 'eabase'
VERSION: '01082025'
PackageEASTL:
extends: .Packaging
variables:
PACKAGE: 'eastl'
VERSION: '3.27.01'
needs:
- PackageEABase
PackagePixelMatch:
extends: .Packaging
variables:
PACKAGE: 'pixelmatch-cpp17'
VERSION: '1.0.3'
PackageLodePNG:
extends: .Packaging
variables:
PACKAGE: 'lodepng'
VERSION: 'cci.20250727'
PackageStduuid:
extends: .Packaging
variables:
PACKAGE: 'stduuid'
VERSION: '1.2.3'
PackageFlatbuffers:
extends: .Packaging
variables:
PACKAGE: 'flatbuffers'
VERSION: '25.12.19'
PackageVulkanMemoryAllocator:
extends: .Packaging
variables:
PACKAGE: 'vulkan-memory-allocator'
VERSION: '3.3.0'
PackageVulkanUtilityLibraries:
extends: .Packaging
variables:
PACKAGE: 'vulkan-utility-libraries'
VERSION: '1.4.313.0'
PackageVulkanValidationLayers:
extends: .Packaging
variables:
PACKAGE: 'vulkan-validationlayers'
VERSION: '1.4.313.0'
needs:
- PackageVulkanUtilityLibraries
PackageShaderC:
extends: .Packaging
variables:
PACKAGE: 'shaderc'
VERSION: '2025.3'
PackageUnorderedDense:
extends: .Packaging
variables:
PACKAGE: 'unordered_dense'
VERSION: '4.8.1'
PackageMimalloc:
extends: .Packaging
variables:
PACKAGE: 'mimalloc'
VERSION: '3.1.5'
PackageMeshOptimizer:
extends: .Packaging
variables:
PACKAGE: 'meshoptimizer'
VERSION: '1.0'
PackageSQLite3:
extends: .Packaging
variables:
PACKAGE: 'sqlite3'
VERSION: '3.51.0'
PackageRapidHash:
extends: .Packaging
variables:
PACKAGE: 'rapidhash'
VERSION: '3.0'