aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Maier <brandon.maier@collins.com>2023-08-02 20:50:17 +0000
committerDavid Gibson <david@gibson.dropbear.id.au>2023-08-06 14:53:29 +1000
commit35019949c4c72cfe4d9a95db7108758d2c7944a1 (patch)
tree8e42fc4d9270e0e5b514334b87d36f26162bd10e
parentcd3e2304f4a9c4f725dcc548082ccc6c89d078a4 (diff)
downloaddtc-35019949c4c72cfe4d9a95db7108758d2c7944a1.zip
dtc-35019949c4c72cfe4d9a95db7108758d2c7944a1.tar.gz
dtc-35019949c4c72cfe4d9a95db7108758d2c7944a1.tar.bz2
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>
-rw-r--r--.github/workflows/build.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 442d98b..c8db026 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -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