Skip to content

Commit

Permalink
[curlBuild] build curl with http3 support dist
Browse files Browse the repository at this point in the history
  • Loading branch information
Haldir65 committed Apr 3, 2024
1 parent c38430f commit 46c65f8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/build_curl_http3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,12 @@ jobs:
shell: bash
run: |
bash scripts/build_curl_http3.sh
tree -L 4
- name: show layouts
shell: bash
run: |
tree -L 2
ls -al
- name: Upload Artifacts
uses: actions/upload-artifact@v4
Expand Down
6 changes: 5 additions & 1 deletion scripts/build_curl_http3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ set -o errtrace
function _prepare(){
local now_dir=`pwd`
# readonly BUILD_ROOT=`pwd`/build/manual
readonly PREBUILT_DIR=`pwd`/prebuilt
export PREBUILT_DIR=`pwd`/prebuilt
if [[ "$OSTYPE" == "darwin"* ]]; then
export CORES=$((`sysctl -n hw.logicalcpu`+1))
export CFLAGS="-arch arm64 -isysroot $(xcrun -sdk macosx --show-sdk-path) -mmacosx-version-min=$(xcrun -sdk macosx --show-sdk-version)"
Expand Down Expand Up @@ -287,8 +287,12 @@ function test_curl(){
}

function _zip_output(){
_purple "zip outputs \n"
mkdir -p dist
tar --directory ${PREBUILT_DIR} --create --xz --verbose --file dist/prebuilt.tar.xz .
tree -L 3 dist
_purple "zip outputs done \n"

}


Expand Down

0 comments on commit 46c65f8

Please sign in to comment.