mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-23 22:06:12 +03:00
Compare commits
3 Commits
4e5adba4ba
...
adef1148e4
Author | SHA1 | Date | |
---|---|---|---|
|
adef1148e4 | ||
|
a79b13e654 | ||
|
dbc44c73d1 |
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -308,7 +308,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
mkdir ${{ env.BUNDLE }}
|
mkdir ${{ env.BUNDLE }}
|
||||||
cp out/Release/naive config.json ../LICENSE ../USAGE.txt ${{ env.BUNDLE }}
|
cp out/Release/naive config.json ../LICENSE ../USAGE.txt ${{ env.BUNDLE }}
|
||||||
7z a ../${{ env.BUNDLE }}.zip ${{ env.BUNDLE }}
|
7z a ${{ env.BUNDLE }}.zip ${{ env.BUNDLE }}
|
||||||
hub release edit -a ${{ env.BUNDLE }}.zip -m "" "${GITHUB_REF##*/}"
|
hub release edit -a ${{ env.BUNDLE }}.zip -m "" "${GITHUB_REF##*/}"
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
@ -316,7 +316,7 @@ jobs:
|
|||||||
if: ${{ github.event_name == 'release' }}
|
if: ${{ github.event_name == 'release' }}
|
||||||
run: |
|
run: |
|
||||||
mv out/Release/cronet ${{ env.CRONET_BUNDLE }}
|
mv out/Release/cronet ${{ env.CRONET_BUNDLE }}
|
||||||
7z a ../${{ env.CRONET_BUNDLE }}.zip ${{ env.CRONET_BUNDLE }}
|
7z a ${{ env.CRONET_BUNDLE }}.zip ${{ env.CRONET_BUNDLE }}
|
||||||
hub release edit -a ${{ env.CRONET_BUNDLE }}.zip -m "" "${GITHUB_REF##*/}"
|
hub release edit -a ${{ env.CRONET_BUNDLE }}.zip -m "" "${GITHUB_REF##*/}"
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
@ -200,7 +200,7 @@ if [ "$target_cpu" = 'mipsel' -o "$target_cpu" = 'mips64el' ]; then
|
|||||||
elif [ "$target_cpu" = 'arm64' -a "$ARCH" = 'Windows' ]; then
|
elif [ "$target_cpu" = 'arm64' -a "$ARCH" = 'Windows' ]; then
|
||||||
# CGO does not support PIE for windows/arm64.
|
# CGO does not support PIE for windows/arm64.
|
||||||
buildmode_flag=
|
buildmode_flag=
|
||||||
elif [ "$target_cpu" = 'x86' -a "$target_os" != '' ]; then
|
elif [ "$target_cpu" = 'x86' -a "$target_os" != 'android' ]; then
|
||||||
# Segfaults if built with PIE in regular Linux. TODO: Find out why.
|
# Segfaults if built with PIE in regular Linux. TODO: Find out why.
|
||||||
buildmode_flag=
|
buildmode_flag=
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user