This commit is contained in:
Bronek Kozicki
2025-09-02 20:29:52 +01:00
parent 3a2e26c5c0
commit e172510c4f

View File

@@ -56,7 +56,7 @@ env:
jobs:
build:
runs-on: ["self-hosted", "Linux", "X64", "heavy"]
container: inputs.build_container
container: ${{ inputs.build_container }}
steps:
- name: Checkout this workflow
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
@@ -64,16 +64,20 @@ jobs:
sparse-checkout: |
.github
conan
- name: Move workflow files on a side
run: |
mkdir -p ${{ runner.temp }}
mv .github conan ${{ runner.temp }}
rm -rf .git
- name: Checkout the commit to build
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
with:
ref: inputs.commit
sparse-checkout: |
conanfile.py
CMakeLists.txt
cmake
include
src
ref: ${{ inputs.commit }}
- name: Restore workflow files
run: |
rm -rf .github conan
mv ${{ runner.temp }}/.github .
mv ${{ runner.temp }}/conan .
- name: Prepare runner
uses: XRPLF/actions/.github/actions/prepare-runner@638e0dc11ea230f91bd26622fb542116bb5254d5
with:
@@ -90,7 +94,7 @@ jobs:
cmake --version
echo 'Checking compiler version.'
${CC}
${CC} --version
echo 'Checking Conan version.'
conan --version