-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #36 from medexs/rewrite-actions
ci(.github/workflows/): don't use 3rd party actions
- Loading branch information
Showing
3 changed files
with
21 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,22 +12,18 @@ jobs: | |
- name: Checkout Repository | ||
uses: actions/[email protected] | ||
|
||
- name: Install Doxygen and Graphviz | ||
uses: awalsh128/cache-apt-pkgs-action@latest | ||
with: | ||
packages: doxygen graphviz | ||
version: 1.0 # Version of cache to load. Each version will have its own cache. | ||
- name: Install dependencies | ||
run: | | ||
sudo apt-get install doxygen graphviz cmake | ||
- name: Build docs | ||
uses: threeal/[email protected] | ||
with: | ||
source-dir: ./ | ||
build-dir: build | ||
options: | | ||
LT_BUILD_DOCS=ON | ||
LT_USE_TREZOR_CRYPTO=ON | ||
- name: Generate Doxygen HTML documentation | ||
run: | | ||
cmake ./ -B build -DLT_BUILD_DOCS=ON | ||
pushd build/ | ||
make doc_doxygen | ||
popd | ||
- name: Upload built html as artifact | ||
- name: Upload built HTML as artifact | ||
id: html_artifact | ||
uses: actions/upload-pages-artifact@v3 | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,20 +12,16 @@ jobs: | |
- name: Checkout Repository | ||
uses: actions/[email protected] | ||
|
||
- name: Install Doxygen and Graphviz | ||
uses: awalsh128/cache-apt-pkgs-action@latest | ||
with: | ||
packages: doxygen graphviz | ||
version: 1.0 # Version of cache to load. Each version will have its own cache. | ||
- name: Install dependencies | ||
run: | | ||
sudo apt-get install doxygen graphviz cmake | ||
- name: Build docs | ||
uses: threeal/[email protected] | ||
with: | ||
source-dir: ./ | ||
build-dir: build | ||
options: | | ||
LT_BUILD_DOCS=ON | ||
LT_USE_TREZOR_CRYPTO=ON | ||
- name: Generate Doxygen HTML documentation | ||
run: | | ||
cmake ./ -B build -DLT_BUILD_DOCS=ON | ||
pushd build/ | ||
make doc_doxygen | ||
popd | ||
- name: Upload HTML docs artifact | ||
uses: actions/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,23 +15,15 @@ jobs: | |
runs-on: ubuntu-22.04 | ||
|
||
steps: | ||
- name: Setup cmake | ||
uses: jwlawson/actions-setup-cmake@v2 | ||
|
||
- name: Set up GCC | ||
uses: egor-tensin/setup-gcc@v1 | ||
with: | ||
version: 13 | ||
|
||
- name: Install dependencies | ||
run: | | ||
sudo apt-get install cppcheck | ||
sudo apt-get install cmake build-essential cppcheck | ||
- name: Checkout Repository | ||
uses: actions/[email protected] | ||
|
||
- name: Run CodeChecker analysis | ||
uses: whisperity/codechecker-analysis-action@v1 | ||
uses: tropicsquare/github-actions/CodeChecker-Action-1.0.4@main | ||
id: codechecker | ||
with: | ||
config: ./scripts/codechecker/codechecker_config.json | ||
|