Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 0 additions & 35 deletions .github/actions/check_cache/action.yaml

This file was deleted.

48 changes: 48 additions & 0 deletions .github/actions/conan_cache_create/action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Conan Cache create
description: Create conan cache
inputs:
profile:
description: conan-profile
required: true
default: default
args:
description: conan build apponly option
required: false
default: ""

runs:
using: composite
steps:
- name: Conan install
shell: bash
id: conan-install
run: conan install . --profile:build=${{inputs.profile}} --profile:host=${{inputs.profile}} --lockfile=conan.lock --build=missing --output-folder=. ${{inputs.args}}

- name: Conan cache clear
shell: bash
run: conan cache clean "*" --source --build --temp --download

- name: Conan graph
shell: bash
run: conan graph info . --profile:build=${{inputs.profile}} --profile:host=${{inputs.profile}} --lockfile=conan.lock --format=json > graph.json

- name: Conan pkg list
shell: bash
run: conan list --graph graph.json --format=json > pkglist.json

- name: Conan cache create
shell: bash
run: conan cache save -l pkglist.json --no-source --file conan-cache-${{inputs.profile}}.tzst -c core.gzip:compresslevel=1

- name: Copy conan.lock to cache path
shell: bash
run: cp -f conan.lock conan-${{inputs.profile}}.lock

- name: Conan cache save
id: cache-save
uses: actions/cache/save@v6
with:
path: |
conan-cache-${{inputs.profile}}.tzst
conan-${{inputs.profile}}.lock
key: ${{inputs.profile}}
2 changes: 1 addition & 1 deletion .github/actions/deploy/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ runs:

- name: Attest
if: ${{inputs.attestation == 'true'}}
uses: actions/attest-build-provenance@v1
uses: actions/attest-build-provenance@v4
with:
subject-path: |
${{inputs.builddir}}/*.zip
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/deploy_with_sign/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ runs:
slug: ${{inputs.sign-slug}}

- name: Attest
uses: actions/attest-build-provenance@v1
uses: actions/attest-build-provenance@v4
with:
subject-path: "${{inputs.signeddir}}/**"

- name: Upload Signed artifacts
id: upload
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: "${{inputs.artifact}}-signed"
path: ${{inputs.signeddir}}
Expand Down
63 changes: 46 additions & 17 deletions .github/actions/enable_conan/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,29 +13,58 @@ inputs:
runs:
using: composite
steps:
- name: Set storage path
- name: Conan defaiult profile detect
shell: bash
run: echo "CONAN_STORAGE=$(conan config home)/p" >> $GITHUB_ENV
run: conan profile detect --force

- name: Cache conan packages
- name: Conan profiles install
shell: bash
run: conan config install CI/conan

- name: Conan lock create
shell: bash
run: conan lock create . --profile:build=${{inputs.profile}} --profile:host=${{inputs.profile}} --lockfile-out=conan.lock

- name: Conan cache download
id: cache
uses: actions/cache@v4
uses: actions/cache/restore@v6
with:
path: ${{env.CONAN_STORAGE}}
path: |
conan-cache-${{inputs.profile}}.tzst
conan-${{inputs.profile}}.lock
key: ${{inputs.profile}}

- if: ${{steps.cache.outputs.cache-hit != 'true'}}
name: Conan install
- name: Check cache hit
id: cache-hit
shell: bash
run: |
if [ -f "conan-cache-${{inputs.profile}}.tzst" ]; then
echo "cache_exists=true" >> $GITHUB_OUTPUT
else
echo "cache_exists=false" >> $GITHUB_OUTPUT
fi

- name: Conan cache restore
if: steps.cache-hit.outputs.cache_exists == 'true'
shell: bash
run: |
conan config install CI/conan
conan install . --build=missing --profile:build=${{inputs.profile}} --profile:host=${{inputs.profile}} --output-folder=. ${{inputs.args}}
conan cache clean "*" --source --build --temp --download
run: conan cache restore conan-cache-${{inputs.profile}}.tzst

- name: Always Save Cache
id: cache-save
if: always() && steps.cache.outputs.cache-hit != 'true'
uses: actions/cache/save@v4
- name: Check cache is out of date
if: steps.cache-hit.outputs.cache_exists == 'true'
id: cache-out-of-date
shell: bash
run: |
if [ -f "conan-${{inputs.profile}}.lock" ] && cmp -s conan.lock conan-${{inputs.profile}}.lock; then
echo "cache_out_of_date=false" >> $GITHUB_OUTPUT
else
echo "cache_out_of_date=true" >> $GITHUB_OUTPUT
fi

- name: Conan cache create
if: steps.cache-hit.outputs.cache_exists == 'false' || steps.cache-out-of-date.outputs.cache_out_of_date == 'true'
uses: ./.github/actions/conan_cache_create
with:
path: ${{env.CONAN_STORAGE}}
key: ${{inputs.profile}}
profile: ${{inputs.profile}}
args: ${{inputs.args}}


8 changes: 4 additions & 4 deletions .github/actions/enable_python/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ description: Install python with requirenments and cache it
runs:
using: composite
steps:
- name: Set up Python 3.13
uses: actions/setup-python@v5
- name: Set up Python 3.14
uses: actions/setup-python@v6
with:
python-version: 3.13
python-version: 3.14

- name: Cache dependencies
id: cache
uses: actions/cache@v4
uses: actions/cache@v6
with:
path: ${{ env.pythonLocation }}
key: ${{ env.pythonLocation }}-${{ hashFiles('requirements.txt') }}
Expand Down
6 changes: 3 additions & 3 deletions .github/actions/enable_python_macos/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ description: Install python deps for MacOS
runs:
using: composite
steps:
- name: Set up Python 3.13
uses: actions/setup-python@v5
- name: Set up Python 3.14
uses: actions/setup-python@v6
with:
python-version: '3.13'
python-version: '3.14'
cache: pip

- run: pip install -r requirements.txt
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/pack/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ runs:

- name: Archive production artifacts
id: upload
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: ${{inputs.artifact}}
path: |
Expand Down
94 changes: 45 additions & 49 deletions .github/actions/setup_ubuntu_env/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,52 +7,48 @@ runs:
shell: bash
run: |
sudo apt-get update
sudo apt-get install -y libgl-dev \
libgl-dev \
libgl1-mesa-dev \
libx11-dev \
libx11-xcb-dev \
libfontenc-dev \
libice-dev \
libsm-dev \
libxau-dev \
libxaw7-dev \
libx11-xcb-dev \
libfontenc-dev \
libxcomposite-dev \
libxcursor-dev \
libxdamage-dev \
libxfixes-dev \
libxi-dev \
libxinerama-dev \
libxmu-dev \
libxmuu-dev \
libxpm-dev \
libxrandr-dev \
libxres-dev \
libxss-dev \
libxtst-dev \
libxv-dev \
libxxf86vm-dev \
libxcb-glx0-dev \
libxcb-render-util0-dev \
libxcb-xkb-dev \
libxcb-icccm4-dev \
libxcb-image0-dev \
libxcb-keysyms1-dev \
libxcb-randr0-dev \
libxcb-shape0-dev \
libxcb-sync-dev \
libxcb-xfixes0-dev \
libxcb-xinerama0-dev \
libxcb-dri3-dev \
libxcb-cursor-dev \
libxcb-dri2-0-dev \
libxcb-dri3-dev \
libxcb-present-dev \
libxcb-composite0-dev \
libxcb-ewmh-dev \
libxcb-res0-dev \
libxv-dev \
libxcb-util-dev \
libxcb-util0-dev
sudo apt-get update && sudo apt-get install -y \
libfontenc-dev \
libgl-dev \
libgl1-mesa-dev \
libice-dev \
libsm-dev \
libx11-dev \
libx11-xcb-dev \
libxau-dev \
libxaw7-dev \
libxcb-composite0-dev \
libxcb-cursor-dev \
libxcb-dri2-0-dev \
libxcb-dri3-dev \
libxcb-ewmh-dev \
libxcb-glx0-dev \
libxcb-icccm4-dev \
libxcb-image0-dev \
libxcb-keysyms1-dev \
libxcb-present-dev \
libxcb-randr0-dev \
libxcb-render-util0-dev \
libxcb-res0-dev \
libxcb-shape0-dev \
libxcb-sync-dev \
libxcb-util-dev \
libxcb-util0-dev \
libxcb-xfixes0-dev \
libxcb-xinerama0-dev \
libxcb-xkb-dev \
libxcomposite-dev \
libxcursor-dev \
libxdamage-dev \
libxfixes-dev \
libxi-dev \
libxinerama-dev \
libxmu-dev \
libxmuu-dev \
libxpm-dev \
libxrandr-dev \
libxres-dev \
libxss-dev \
libxtst-dev \
libxv-dev \
libxxf86vm-dev
2 changes: 1 addition & 1 deletion .github/actions/sign/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ inputs:
runs:
using: composite
steps:
- uses: signpath/github-action-submit-signing-request@v1.2
- uses: signpath/github-action-submit-signing-request@v2
with:
api-token: '${{ inputs.token }}'
organization-id: '458e74d2-1c0a-4e3a-b1e7-9bc24caf673e'
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/tests/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ runs:
shell: bash
run: bin/daggy --version

- uses: mikepenz/action-junit-report@v5
- uses: mikepenz/action-junit-report@v6
with:
report_paths: ${{inputs.testdir}}/tests/local_tests.xml
detailed_summary: true
Expand Down
Loading