Skip to content

Commit

Permalink
Removing dependency upload as it's Github implementation is broken
Browse files Browse the repository at this point in the history
  • Loading branch information
gershnik committed Jul 2, 2024
1 parent b48ebcf commit 2083e6d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 106 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,35 +49,24 @@ jobs:
git fetch --all
git fetch -f --prune --tags
git reset --hard ${{ github.sha }}
export GH_TOKEN=${{ secrets.GITHUB_TOKEN }}
if [[ '${{ matrix.installer }}' == 'bsd' ]]; then
mkdir -p out
echo "::group::AMD64"
[ -d "out/amd64" ] && tools/uncache out/amd64
cmake -S . -B out/amd64 -DCMAKE_BUILD_TYPE=RelWithDebInfo
installers/bsd/build.py . out/amd64
tools/upload-dependencies -v 0 --sha ${{ github.sha }} --ref ${{ github.ref }} --jid ${{ github.job }} \
--jcor '${{ github.workflow }}_${{ github.job }}_${{ matrix.remote_host }}_amd64' \
out/amd64/dependencies.json
echo "::endgroup::"
echo "::group::ARM64"
installers/bsd/make-toolchain.py arm64 out/toolchain-arm64
[ -d "out/arm64" ] && tools/uncache out/arm64
cmake -S . -B out/arm64 -DCMAKE_TOOLCHAIN_FILE=out/toolchain-arm64/toolchain.cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo
installers/bsd/build.py --arch=aarch64 . out/arm64
tools/upload-dependencies -v 0 --sha ${{ github.sha }} --ref ${{ github.ref }} --jid ${{ github.job }} \
--jcor '${{ github.workflow }}_${{ github.job }}_${{ matrix.remote_host }}_arm64' \
out/arm64/dependencies.json
echo "::endgroup::"
else
[ -d "out" ] && tools/uncache out
cmake -S . -B out -DCMAKE_BUILD_TYPE=RelWithDebInfo
installers/${{ matrix.installer }}/build.py --sign . out
tools/upload-dependencies -v 0 --sha ${{ github.sha }} --ref ${{ github.ref }} --jid ${{ github.job }} \
--jcor '${{ github.workflow }}_${{ github.job }}_${{ matrix.remote_host }}' \
out/dependencies.json
fi
EOF
Expand Down Expand Up @@ -107,8 +96,6 @@ jobs:
"-DCMAKE_OSX_ARCHITECTURES=x86_64;arm64"
- name: Build
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
export SIGN_CERTIFICATE='${{ secrets.SIGN_CERTIFICATE }}'
export SIGN_CERTIFICATE_PWD='${{ secrets.SIGN_CERTIFICATE_PWD }}'
Expand All @@ -119,10 +106,6 @@ jobs:
installers/mac/build.py --sign . out
tools/upload-dependencies -v 0 --sha ${{ github.sha }} --ref ${{ github.ref }} --jid ${{ github.job }} \
--jcor '${{ github.workflow }}_${{ github.job }}_mac' \
out/dependencies.json
Expand Down
89 changes: 0 additions & 89 deletions tools/upload-dependencies

This file was deleted.

0 comments on commit 2083e6d

Please sign in to comment.