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 1fe99e5
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: "make -C ${{ needs.build_sdist.outputs.sdist_name }} clean && IS_MACOS=1 ./pre_build.sh"
CIBW_BEFORE_BUILD_LINUX: "make -C ${{ needs.build_sdist.outputs.sdist_name }} clean && ./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 1fe99e5

Please sign in to comment.