Skip to content

Commit

Permalink
clean before each build
Browse files Browse the repository at this point in the history
  • Loading branch information
ipmb committed Dec 13, 2023
1 parent d5ceaba commit 133d24e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ jobs:
CIBW_SKIP: cp36-* pp*
CIBW_ENVIRONMENT: APPEND_VERSION=".post0" UWSGI_PROFILE=pyuwsginossl
CIBW_TEST_COMMAND: "uwsgi --module foo --need-app --http :8080 || true"
CIBW_BEFORE_BUILD_MACOS: IS_MACOS=1 ./pre_build.sh
CIBW_BEFORE_BUILD_LINUX: ./pre_build.sh && (yum install -y zlib-devel || apk add zlib-dev)
CIBW_BEFORE_BUILD_MACOS: "find . -name '*.o' -delete && IS_MACOS=1 ./pre_build.sh"
CIBW_BEFORE_BUILD_LINUX: "find . -name '*.o' -delete && ./pre_build.sh && (yum install -y zlib-devel || apk add zlib-dev)"
CIBW_BUILD_VERBOSITY_LINUX: "3"

- uses: actions/upload-artifact@v3
Expand Down
1 change: 1 addition & 0 deletions pre_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ function build_jansson {
}

function pre_build {
make -C uwsgi clean
build_pcre
#build_zlib
build_jansson
Expand Down

0 comments on commit 133d24e

Please sign in to comment.