diff --git a/.appveyor.yml b/.appveyor.yml deleted file mode 100644 index d03e027..0000000 --- a/.appveyor.yml +++ /dev/null @@ -1,38 +0,0 @@ -skip_branch_with_pr: true - -image: - - Visual Studio 2019 - -cache: - - c:\tools\vcpkg\installed\ - -install: - - pwsh: | - ./windows/install.ps1 - -build_script: - - pwsh: | - ./common/verify-encoding.ps1 - ./windows/build.ps1 -VcpkgToolchain c:\tools\vcpkg\scripts\buildsystems\vcpkg.cmake - -after_build: - - pwsh: | - ./windows/pack.ps1 - -test_script: - - pwsh: | - ./windows/copy-artifacts.appveyor.ps1 - ./common/nuget-pack.ps1 -Version "1.8.1.0" # TODO[#64]: Add $env:APPVEYOR_BUILD_NUMBER as a patch version - ./common/test.ps1 - -artifacts: - - path: tdlib.windows.zip - name: tdlib.windows - -deploy: - provider: GitHub - auth_token: - secure: 'nUaUQmuMlgr29xKXfE73I0bM4Oy4mDz+00ORoJIjYNnXmt5/1yUC3QCKQ/ia64xG' - artifact: tdlib.windows - on: - APPVEYOR_REPO_TAG: true diff --git a/MAINTAINERSHIP.md b/MAINTAINERSHIP.md index b46cd60..dcf1ef0 100644 --- a/MAINTAINERSHIP.md +++ b/MAINTAINERSHIP.md @@ -11,7 +11,6 @@ Publish a New Version - `.github/workflows/main.yml`: `PACKAGE_VERSION_BASE` environment variable (3 occurrences) - `common/download-release.ps1`: `$Version` variable default value - `common/nuget-pack.ps1`: `$Version` variable default value - - `.appveyor.yml`: `test_script` section (2 occurrences) 5. Update the `releaseNotes` element in the `tdlib.native.nuspec` file. 6. Create a pull request, verify that the tests are okay. 7. Push a version tag (`v1.x.x`) to this repository. CI servers will do their job and upload the artifacts to the [Releases][releases] page. diff --git a/README.md b/README.md index 9219607..5301c25 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ This is a project to pack [TDLib][tdlib] (the Telegram Database library) binarie - [MacOS 10.15][spec.macos] (x64) _(GitHub Actions image: `macos-10.15`)_ - [Ubuntu 18.04][spec.linux] (x64) _(Docker image: `ubuntu:18.04`)_ -- [Windows Server 2019][spec.windows] (x64) _(Appveyor image: `Visual Studio 2019`)_ +- [Windows Server 2019][spec.windows] (x64) _(GitHub Actions image: `windows-2019`)_ Getting Started --------------- @@ -29,6 +29,6 @@ Documentation [releases]: https://github.com/ForNeVeR/tdlib.native/releases [spec.linux]: https://hub.docker.com/_/ubuntu [spec.macos]: https://github.com/actions/virtual-environments/blob/main/images/macos/macos-10.15-Readme.md -[spec.windows]: https://www.appveyor.com/docs/windows-images-software/ +[spec.windows]: https://github.com/actions/virtual-environments/blob/main/images/win/Windows2019-Readme.md [tdlib]: https://github.com/tdlib/td [tdsharp]: https://github.com/egramtel/tdsharp diff --git a/windows/copy-artifacts.appveyor.ps1 b/windows/copy-artifacts.appveyor.ps1 deleted file mode 100644 index d067fdb..0000000 --- a/windows/copy-artifacts.appveyor.ps1 +++ /dev/null @@ -1,10 +0,0 @@ -param ( - [string] $Target = "$PSScriptRoot/../build/runtimes/win-x64/native/", - [string] $Source = "$PSScriptRoot/../td/build/Release/*.dll" -) - -$ErrorActionPreference = 'Stop' -Set-StrictMode -Version Latest - -New-Item -Type Directory $Target -Copy-Item $Source $Target diff --git a/windows/install.ps1 b/windows/install.ps1 deleted file mode 100644 index 13cb545..0000000 --- a/windows/install.ps1 +++ /dev/null @@ -1,11 +0,0 @@ -# TODO[#24]: Remove, no longer required on GitHub Actions -$ErrorActionPreference = 'Stop' -Set-StrictMode -Version Latest - -Write-Output 'Installing gperf' -choco install gperf -if (!$?) { throw 'Cannot install dependencies from choco' } - -Write-Output 'Updating the Git submobules' -git submodule update --init --recursive -if (!$?) { throw 'Cannot update the Git submodules' }