@@ -91,22 +91,13 @@ jobs:
9191 ${{ matrix.config.activate_venv }}
9292 pip3 install -r scripts/requirements.txt
9393
94- - name : Setup Conan (Visual Studio 2022)
95- if : matrix.config.os == 'windows-2022'
96- uses : ./.github/actions/shell
97- env :
98- CMAKE_C_FLAGS : ' /TP'
99- with :
100- commands : |
101- ${{ matrix.config.activate_venv }}
102- python3 scripts/conan/setup.py ${{ matrix.build_type }} ${{ matrix.config.compiler }} ${{ matrix.config.compiler_version }}
103-
10494 - name : Setup Conan
105- if : matrix.config.os == 'windows-2019' || matrix.config.os == 'ubuntu-22.04' || matrix.config.os == 'macos-14'
10695 uses : ./.github/actions/shell
10796 with :
10897 commands : |
10998 ${{ matrix.config.activate_venv }}
99+ conan remote add teiacare ${{ secrets.ARTIFACTORY_URL }}/teiacare --insert 0 --force
100+ conan user ${{ secrets.ARTIFACTORY_USERNAME }} -p ${{ secrets.ARTIFACTORY_PASSWORD }} -r teiacare
110101 python3 scripts/conan/setup.py ${{ matrix.build_type }} ${{ matrix.config.compiler }} ${{ matrix.config.compiler_version }}
111102
112103 - name : Build
@@ -132,6 +123,34 @@ jobs:
132123 continue-on-error : true
133124 timeout-minutes : 5
134125
126+ # - name: Run Code Coverage
127+ # uses: ./.github/actions/shell
128+ # if: ${{ matrix.build_type == 'Release' && matrix.config.compiler == 'gcc' }}
129+ # with:
130+ # commands: |
131+ # ${{ matrix.config.activate_venv }}
132+ # python3 scripts/tools/run_coverage.py ${{ matrix.config.compiler }} ${{ matrix.config.compiler_version }}
133+ # env:
134+ # CONAN_USER_HOME: ${{ github.workspace }}
135+ # continue-on-error: true
136+ # timeout-minutes: 5
137+
138+ # - name: Upload Codecov
139+ # if: ${{ matrix.build_type == 'Release' && matrix.config.compiler == 'gcc' }}
140+ # uses: codecov/codecov-action@v4
141+ # with:
142+ # files: './results/coverage/cobertura.xml'
143+ # name: TeiaCareVideoIO
144+ # slug: TeiaCare/TeiaCareVideoIO
145+ # token: ${{secrets.CODECOV_TOKEN}}
146+ # flags: '${{ matrix.build_type }} ${{ matrix.config.compiler }} ${{ matrix.config.compiler_version }}'
147+
148+ # - name: Upload Codacy
149+ # if: ${{ matrix.build_type == 'Release' && matrix.config.compiler == 'gcc' }}
150+ # run: bash <(curl -Ls https://coverage.codacy.com/get.sh) report -r results/coverage/cobertura.xml
151+ # env:
152+ # CODACY_PROJECT_TOKEN: ${{secrets.CODACY_TOKEN}}
153+
135154 - name : Create Conan Package
136155 uses : ./.github/actions/shell
137156 with :
@@ -141,7 +160,6 @@ jobs:
141160 python3 scripts/conan/create.py ${{ matrix.build_type }} ${{ matrix.config.compiler }} ${{ matrix.config.compiler_version }}
142161 env :
143162 CONAN_USER_HOME : ${{ github.workspace }}
144- timeout-minutes : 5
145163
146164 - name : Upload Conan Package
147165 uses : ./.github/actions/shell
@@ -152,4 +170,3 @@ jobs:
152170 python3 scripts/conan/upload.py teiacare ${{ secrets.ARTIFACTORY_URL }} ${{ secrets.ARTIFACTORY_USERNAME }} ${{ secrets.ARTIFACTORY_PASSWORD }}
153171 env :
154172 CONAN_USER_HOME : ${{ github.workspace }}
155- timeout-minutes : 5
0 commit comments