From 6a5920ef512f4f34fae03df71f9ebb590814d7e8 Mon Sep 17 00:00:00 2001 From: David Heejong Park <88651540+davidhjp01@users.noreply.github.com> Date: Thu, 15 Feb 2024 07:46:12 +0100 Subject: [PATCH] Uploading artifacts to jfrog (#751) gcc9 builds are not available from conancenter. Built libraries are uploaded to osp jfrog. --- .github/workflows/ci-conan.yml | 14 +++++++------- .gitignore | 2 ++ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci-conan.yml b/.github/workflows/ci-conan.yml index 4a77db10f..b2258221c 100644 --- a/.github/workflows/ci-conan.yml +++ b/.github/workflows/ci-conan.yml @@ -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 @@ -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 @@ -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 '*' diff --git a/.gitignore b/.gitignore index 4459ca29f..aadaf1b1d 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,5 @@ cmake-build-*/ # Visual Studio Code .vscode/ + +CMakeUserPresets.json \ No newline at end of file