Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
￴￴ committed Jul 11, 2024
1 parent 15c4659 commit 7a1d6d4
Showing 1 changed file with 2 additions and 70 deletions.
72 changes: 2 additions & 70 deletions .github/workflows/build-tdlib-cross.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,75 +77,7 @@
# files: |
# tdlib/.*

# # build-tdlib-mobile:
# # name: Build
# # runs-on: ubuntu-20.04
# # strategy:
# # matrix:
# # os: [ubuntu-20.04, macOS-latest]
# # include:
# # - os: ubuntu-20.04
# # output-name: android
# # - os: macOS-latest
# # output-name: ios

# # steps:
# # - name: Export Release Timestamp
# # run: echo "APP_VERSION=v$(date +'%Y.%m.%d.%H.%M.%S')" >> $GITHUB_ENV
# # - uses: actions/checkout@v3
# # with:
# # repository: tdlib/td
# # - name: Install Dependencies
# # continue-on-error: true
# # run: |
# # if [ "$RUNNER_OS" == "Linux" ]; then
# # sudo apt update -y
# # sudo apt-get install -y make git zlib1g-dev libssl-dev gperf cmake clang libc++-dev libc++abi-dev ninja-build zip
# # fi
# # if [ "$RUNNER_OS" == "macOS" ]; then
# # brew update
# # brew upgrade
# # xcode-select --install
# # curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh
# # brew install gperf cmake openssl coreutils
# # fi
# # if [ "$RUNNER_OS" == "Windows" ]; then
# # git clone https://github.com/Microsoft/vcpkg.git
# # cd vcpkg
# # git checkout 1b1ae50e1a69f7c659bd7d731e80b358d21c86ad
# # ./bootstrap-vcpkg.bat
# # ./vcpkg.exe install gperf:x64-windows openssl:x64-windows zlib:x64-windows
# # fi
# # shell: bash
# # - name: Compile Tdlib
# # continue-on-error: true
# # run: |
# # mkdir build
# # cd build
# # if [ "$RUNNER_OS" == "Linux" ]; then
# # cmake -DCMAKE_BUILD_TYPE=Release ..
# # cmake --build .
# # fi
# # if [ "$RUNNER_OS" == "macOS" ]; then
# # cmake -DCMAKE_BUILD_TYPE=Release -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl/ ..
# # cmake --build .
# # fi
# # if [ "$RUNNER_OS" == "Windows" ]; then
# # cmake -A x64 -DCMAKE_TOOLCHAIN_FILE:FILEPATH=../vcpkg/scripts/buildsystems/vcpkg.cmake ..
# # cmake --build . --config Release
# # fi
# # shell: bash
# # - name: Publish Release
# # uses: marvinpinto/action-automatic-releases@latest
# # continue-on-error: true
# # with:
# # repo_token: "${{ github.token }}"
# # automatic_release_tag: "latest-tdlib-${{ matrix.output-name }}"
# # prerelease: false
# # title: "Release Tdlib ${{ matrix.output-name }}"
# # files: |
# # build/libtdjson.*.*



name: Build Tdlib Cross Platform

Expand Down Expand Up @@ -309,7 +241,7 @@ jobs:
run: |
git clone https://github.com/Microsoft/vcpkg.git
cd vcpkg
git checkout 1b1ae50e1a69f7c659bd7d731e80b358d21c86ad
git checkout cd5e746ec203c8c3c61647e0886a8df8c1e78e41
./bootstrap-vcpkg.bat
./vcpkg.exe install gperf:x64-windows openssl:x64-windows zlib:x64-windows
Expand Down

0 comments on commit 7a1d6d4

Please sign in to comment.