mirror of
https://github.com/dgibson/dtc.git
synced 2025-10-13 16:27:39 -04:00
workflows: build: remove setuptools_scm hack
The SETUPTOOLS_SCM_PRETEND_VERSION was needed as ./setup.py would fail without it. As setuptools_scm will fail if there is not git repo, and the github workflow container does not include the source code git repo. A previous commit added "fallback_version" to setuptools_scm which instructs it to use the version from VERSION.txt when the git repo is missing. So this hack is no longer needed. Signed-off-by: Brandon Maier <brandon.maier@collins.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
cd3e2304f4
commit
35019949c4
1 changed files with 2 additions and 2 deletions
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
@ -30,8 +30,8 @@ jobs:
|
|||
|
||||
- name: Build
|
||||
run: |
|
||||
SETUPTOOLS_SCM_PRETEND_VERSION="0" make
|
||||
make
|
||||
|
||||
- name: Run check
|
||||
run: |
|
||||
SETUPTOOLS_SCM_PRETEND_VERSION="0" make check
|
||||
make check
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue