Skip to content

Commit

Permalink
Use absolute conan path
Browse files Browse the repository at this point in the history
  • Loading branch information
joakimono committed Feb 11, 2025
1 parent f76252b commit d38f274
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/ci-conan-gcc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,19 +46,17 @@ jobs:
pipx install conan
- name: Run Conan
run: |
pipx ensurepath
conan remote add sintef ${{ env.CONAN_UPLOAD }}
echo "package_name=$(conan inspect -f json . | jq .name -r)" >> $GITHUB_ENV
/github/home/.local/bin/conan remote add sintef ${{ env.CONAN_UPLOAD }}
echo "package_name=$(/github/home/.local/bin/conan inspect -f json . | jq .name -r)" >> $GITHUB_ENV
git config --global --add safe.directory '*'
conan config install ${{ env.CONFIG_URL }} --type git -sf conan2.0
conan config install ${{ env.CONFIG_URL }} --type git -sf profiles -tf profiles
conan create -s build_type=${{ matrix.build_type }} \
/github/home/.local/bin/conan config install ${{ env.CONFIG_URL }} --type git -sf conan2.0
/github/home/.local/bin/conan config install ${{ env.CONFIG_URL }} --type git -sf profiles -tf profiles
/github/home/.local/bin/conan create -s build_type=${{ matrix.build_type }} \
-s compiler.version=${{ matrix.compiler_version }} \
-pr:b=${{ matrix.profile }} -pr:h=${{ matrix.profile }} \
-b missing -b outdated -b ${{ env.package_name }}* \
--user sintef --channel stable \
.
- name: Conan upload
run: |
pipx ensurepath
conan upload --confirm -r sintef ${{ env.package_name }}* --force
/github/home/.local/bin/conan upload --confirm -r sintef ${{ env.package_name }}* --force

0 comments on commit d38f274

Please sign in to comment.