From aa635bc5c8b25072425edf870eef6b0bbae7936b Mon Sep 17 00:00:00 2001 From: Ondrej Golasowski Date: Wed, 29 Jan 2025 11:34:41 +0100 Subject: [PATCH 1/5] ci(integration tests): removed integration tests. --- .github/workflows/integration_tests.yml | 61 ------------------------- 1 file changed, 61 deletions(-) delete mode 100644 .github/workflows/integration_tests.yml diff --git a/.github/workflows/integration_tests.yml b/.github/workflows/integration_tests.yml deleted file mode 100644 index 2b606da..0000000 --- a/.github/workflows/integration_tests.yml +++ /dev/null @@ -1,61 +0,0 @@ -name: Integration test -on: - push: - branches: - - 'master' - - 'develop' - -jobs: - build: - runs-on: ubuntu-22.04 - - steps: - - name: Checkout Repository - uses: actions/checkout@v4.1.7 - - - name: Build Integration tests - uses: threeal/cmake-action@v2.0.0 - with: - source-dir: tests/integration/ - build-dir: tests/integration/build - - # - name: Download ts-tvl-package artifact - # uses: actions/download-artifact@v4 - # with: - # # Name of the artifact to download. - # # If unspecified, all artifacts for the run are downloaded. - # # Optional. - # name: 'ts-tvl-package' - - # # Destination path. Supports basic tilde expansion. - # # Optional. Default is $GITHUB_WORKSPACE - # path: - - # # A glob pattern to the artifacts that should be downloaded. - # # Ignored if name is specified. - # # Optional. - # pattern: - - # # When multiple artifacts are matched, this changes the behavior of the destination directories. - # # If true, the downloaded artifacts will be in the same directory specified by path. - # # If false, the downloaded artifacts will be extracted into individual named directories within the specified path. - # # Optional. Default is 'false' - # merge-multiple: false - - # # The GitHub token used to authenticate with the GitHub API. - # # This is required when downloading artifacts from a different repository or from a different workflow run. - # # Optional. If unspecified, the action will download artifacts from the current repo and the current workflow run. - # github-token: - - # # The repository owner and the repository name joined together by "/". - # # If github-token is specified, this is the repository that artifacts will be downloaded from. - # # Optional. Default is ${{ github.repository }} - # repository: 'tropicsquare/ts-tvl' - - # # The id of the workflow run where the desired download artifact was uploaded from. - # # If github-token is specified, this is the run that artifacts will be downloaded from. - # # Optional. Default is ${{ github.run_id }} - # run-id: 10248812472 - - # - name: List downloaded file - # run: ls -l ts-tvl-package From 1101b6cd0cf245809e5662790a9e576e97f220a1 Mon Sep 17 00:00:00 2001 From: Ondrej Golasowski Date: Wed, 29 Jan 2025 13:09:05 +0100 Subject: [PATCH 2/5] ci(docs): removed obsolete build_docs.yml. --- .github/workflows/build_docs.yml | 59 -------------------------------- 1 file changed, 59 deletions(-) delete mode 100644 .github/workflows/build_docs.yml diff --git a/.github/workflows/build_docs.yml b/.github/workflows/build_docs.yml deleted file mode 100644 index 02a0814..0000000 --- a/.github/workflows/build_docs.yml +++ /dev/null @@ -1,59 +0,0 @@ -#name: Build documentation -#on: -# push: -# branches: -# - 'master' -# - 'develop' -# -#jobs: -# build: -# runs-on: ubuntu-22.04 -# -# steps: -# - name: Checkout Repository -# uses: actions/checkout@v4.1.7 -# -# - name: Build Docs -# uses: mattnotmitt/doxygen-action@v1.9.5 -# with: -# doxyfile-path: 'docs/Doxyfile.in' -# enable-latex: false - - -name: Build documentation -on: - push: - branches: - - 'master' - - 'develop' - -jobs: - build: - runs-on: ubuntu-22.04 - - steps: - - name: Checkout Repository - uses: actions/checkout@v4.1.7 - - - uses: ssciwr/doxygen-install@v1 - # with: - # version: "1.12.0" - - - name: Build docs - uses: threeal/cmake-action@v2.0.0 - with: - source-dir: ./ - build-dir: build - options: | - BUILD_DOCS=ON - USE_TREZOR_CRYPTO=ON - - - name: Create html release - uses: svenstaro/upload-release-action@latest - with: - repo_token: ${{ secrets.GITHUB_TOKEN }} - file: build/docs/doxygen/html/ - release_name: HTML Documentation - make_latest: true - overwrite: true - file_glob: true From b62b1ea8cf3171da941183e56d8e5ea5d6b8b379 Mon Sep 17 00:00:00 2001 From: Ondrej Golasowski Date: Thu, 30 Jan 2025 09:05:53 +0100 Subject: [PATCH 3/5] ci: added temp trigger. --- .github/workflows/build_docs_release.yml | 1 + .github/workflows/build_docs_upload_artifacts.yml | 1 + .github/workflows/static_analysis.yml | 1 + .github/workflows/unit_tests.yml | 1 + 4 files changed, 4 insertions(+) diff --git a/.github/workflows/build_docs_release.yml b/.github/workflows/build_docs_release.yml index f65d699..735ef63 100644 --- a/.github/workflows/build_docs_release.yml +++ b/.github/workflows/build_docs_release.yml @@ -3,6 +3,7 @@ on: push: branches: - 'master' + - 'review-ci-scripts' jobs: build: diff --git a/.github/workflows/build_docs_upload_artifacts.yml b/.github/workflows/build_docs_upload_artifacts.yml index 1b868b9..d04f1be 100644 --- a/.github/workflows/build_docs_upload_artifacts.yml +++ b/.github/workflows/build_docs_upload_artifacts.yml @@ -3,6 +3,7 @@ on: push: branches: - 'develop' + - 'review-ci-scripts' jobs: build: diff --git a/.github/workflows/static_analysis.yml b/.github/workflows/static_analysis.yml index b5dca1c..f9b2b64 100644 --- a/.github/workflows/static_analysis.yml +++ b/.github/workflows/static_analysis.yml @@ -4,6 +4,7 @@ on: branches: - 'develop' - 'master' + - 'review-ci-scripts' pull_request: branches: - 'master' diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index 16d78fc..68ad2c7 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -4,6 +4,7 @@ on: branches: - 'master' - 'develop' + - 'review-ci-scripts' jobs: build: From 666a16e549fdc980181f5a51e9ce0725ca91ab5f Mon Sep 17 00:00:00 2001 From: Ondrej Golasowski Date: Thu, 30 Jan 2025 14:08:33 +0100 Subject: [PATCH 4/5] ci: removed temp debug trigger. --- .github/workflows/build_docs_release.yml | 1 - .github/workflows/build_docs_upload_artifacts.yml | 1 - .github/workflows/static_analysis.yml | 1 - .github/workflows/unit_tests.yml | 1 - 4 files changed, 4 deletions(-) diff --git a/.github/workflows/build_docs_release.yml b/.github/workflows/build_docs_release.yml index 735ef63..f65d699 100644 --- a/.github/workflows/build_docs_release.yml +++ b/.github/workflows/build_docs_release.yml @@ -3,7 +3,6 @@ on: push: branches: - 'master' - - 'review-ci-scripts' jobs: build: diff --git a/.github/workflows/build_docs_upload_artifacts.yml b/.github/workflows/build_docs_upload_artifacts.yml index d04f1be..1b868b9 100644 --- a/.github/workflows/build_docs_upload_artifacts.yml +++ b/.github/workflows/build_docs_upload_artifacts.yml @@ -3,7 +3,6 @@ on: push: branches: - 'develop' - - 'review-ci-scripts' jobs: build: diff --git a/.github/workflows/static_analysis.yml b/.github/workflows/static_analysis.yml index f9b2b64..b5dca1c 100644 --- a/.github/workflows/static_analysis.yml +++ b/.github/workflows/static_analysis.yml @@ -4,7 +4,6 @@ on: branches: - 'develop' - 'master' - - 'review-ci-scripts' pull_request: branches: - 'master' diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index 68ad2c7..16d78fc 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -4,7 +4,6 @@ on: branches: - 'master' - 'develop' - - 'review-ci-scripts' jobs: build: From f21452d6006a1d2114d2186f2be597542cddd220 Mon Sep 17 00:00:00 2001 From: Ondrej Golasowski Date: Thu, 30 Jan 2025 14:10:09 +0100 Subject: [PATCH 5/5] ci: disabled static code analysis. --- .github/workflows/static_analysis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/static_analysis.yml b/.github/workflows/static_analysis.yml index b5dca1c..fcdba10 100644 --- a/.github/workflows/static_analysis.yml +++ b/.github/workflows/static_analysis.yml @@ -10,6 +10,8 @@ on: jobs: static_analysis: + if: ${{ false }} # disable for now + runs-on: ubuntu-22.04 steps: