ci: manually define vars for lint build
Git in containerised workflows doesn't really like to work properly, so avoid using it by manually defining variables
This commit is contained in:
parent
71fc17735d
commit
d19ec2c2c8
1 changed files with 2 additions and 2 deletions
4
.github/workflows/lint.yml
vendored
4
.github/workflows/lint.yml
vendored
|
|
@ -18,8 +18,8 @@ jobs:
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
# Use fake version for CI build
|
# Set version and git rev for CI build so we don't call git
|
||||||
cmake -B build -G Ninja -DCMAKE_CXX_COMPILER=clazy -DCMAKE_CXX_FLAGS=-Werror -DVERSION=v0.0.0
|
cmake -B build -G Ninja -DCMAKE_CXX_COMPILER=clazy -DCMAKE_CXX_FLAGS=-Werror -DVERSION= -DGIT_REVISION=
|
||||||
cmake --build build
|
cmake --build build
|
||||||
|
|
||||||
- name: Lint QML
|
- name: Lint QML
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue