Skip to content

Commit

Permalink
Uploading artifacts to jfrog (#751)
Browse files Browse the repository at this point in the history
gcc9 builds are not available from conancenter. Built libraries are uploaded to osp jfrog.
  • Loading branch information
davidhjp01 authored Feb 15, 2024
1 parent 255692d commit 6a5920e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci-conan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ jobs:
fi
conan create \
--settings="build_type=${{ matrix.build_type }}" \
--options="libcosim/*:${{ matrix.option_proxyfmu }}" \
--options="libcosim/*:${{ matrix.option_shared }}" \
--options="${{ matrix.option_proxyfmu }}" \
--options="${{ matrix.option_shared }}" \
--build=missing \
--user=osp \
--channel="${CHANNEL}" \
.
conan upload --confirm --remote=osp 'libcosim/*'
conan upload --confirm --remote=osp '*'
EOF
chmod 0755 /tmp/osp-builder-docker/entrypoint.sh
- name: Build Docker image
Expand All @@ -76,7 +76,7 @@ jobs:
build_type: [Debug, Release]
option_proxyfmu: ['proxyfmu=True', 'proxyfmu=False']
option_shared: ['shared=True', 'shared=False']
timeout-minutes: 35
timeout-minutes: 120

steps:
- uses: actions/checkout@v4
Expand All @@ -101,11 +101,11 @@ jobs:
fi
conan create \
--settings="build_type=${{ matrix.build_type }}" \
--options="libcosim/*:${{ matrix.option_proxyfmu }}" \
--options="libcosim/*:${{ matrix.option_shared }}" \
--options="${{ matrix.option_proxyfmu }}" \
--options="${{ matrix.option_shared }}" \
--build=missing \
--user=osp \
--channel="${CHANNEL}" \
.
- name: Conan upload
run: conan upload --confirm --remote=osp 'libcosim/*'
run: conan upload --confirm --remote=osp '*'
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ cmake-build-*/

# Visual Studio Code
.vscode/

CMakeUserPresets.json

0 comments on commit 6a5920e

Please sign in to comment.