Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
christophkloeffel committed Oct 11, 2024
1 parent 2c881c9 commit 2ecc332
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 11 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,23 +85,17 @@ jobs:
run: |
python3 -m pip install --upgrade pip
python3 -m pip install -r requirements_dev.txt
sudo apt install cmake ninja-build
- name: Cache clang-tidy
id: cache-clang-tidy
uses: actions/cache@v3
with:
path: ~/work/lobster/llvm-project/build/bin/clang-tidy
key: cache-clang-tidy
restore-keys: cache-clang-tidy
- if: ${{ steps.cache-clang-tidy.outputs.cache-hit != 'true' }}
name: Build clang-tidy
run: |
make clang-tidy
- if: ${{ steps.cache-clang-tidy.outputs.cache-hit != 'true' }}
name: Cache clang-tidy output
uses: actions/cache@v3
with:
path: ~/work/lobster/llvm-project/build/bin/clang-tidy
key: cache-clang-tidy
- name: Run integration tests
run: |
make integration-tests
Expand Down
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,8 @@ clang-tidy:
cd .. && \
git clone https://github.com/bmw-software-engineering/llvm-project && \
cd llvm-project && \
sudo apt install cmake ninja-build && \
cmake -S llvm -B build -G Ninja -DLLVM_ENABLE_PROJECTS='clang;clang-tools-extra' -DCMAKE_BUILD_TYPE=Release && \
cmake --build build
cmake --build build --target clang-tidy

integration-tests: packages
(cd integration-tests/projects/basic; make)
Expand Down
1 change: 0 additions & 1 deletion integration-tests/projects/basic/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ THIS_TEST_ESCAPED:=$(subst /,\\/,$(THIS_TEST))

html_report.html: cppcode.lobster gtests.lobster mcode.lobster system-requirements.lobster software-requirements.lobster lobster.conf pycode.lobster json.lobster
@lobster-report
@lobster-online-report
@cp report.lobster report.reference_output
@lobster-html-report
@cp lobster_report.html ../../../documentation/example_report.html
Expand Down
1 change: 0 additions & 1 deletion integration-tests/projects/filter/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ THIS_TEST_ESCAPED:=$(subst /,\\/,$(THIS_TEST))

html_report.html: cppcode.lobster requirements.lobster lobster.conf json.lobster
@lobster-report
@lobster-online-report
@cp report.lobster report.reference_output
@lobster-html-report

Expand Down

0 comments on commit 2ecc332

Please sign in to comment.