Delete appveyor.yml

This commit is contained in:
kngwyu 2019-11-17 12:16:36 +09:00
parent 8204bd08a0
commit c0386f3d00
5 changed files with 10 additions and 36 deletions

View File

@ -17,9 +17,13 @@ jobs:
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Set Python PATH
run: ci/actions/setup
- name: Install Rust
run: ci/appveyor/setup
shell: powershell
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
- name: Build
run: cargo build --verbose
- name: Install test dependencies
@ -27,5 +31,4 @@ jobs:
python -m pip install -U pip setuptools
pip install setuptools-rust pytest pytest-benchmark tox tox-venv
- name: Test
run: ci/appveyor/test
shell: powershell
run: ci/actions/test

View File

@ -1,24 +0,0 @@
version: 0.2.{build}
environment:
TARGET: x86_64-pc-windows-msvc
RUST_BACKTRACE: 1
matrix:
- PYTHON: "C:/Python35-x64"
- PYTHON: "C:/Python36-x64"
install:
- python -V
- ps: .\ci\appveyor\setup.ps1
- call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" amd64
- rustc -V
- cargo -V
build_script:
- cargo build --verbose
before_test:
- python -m pip install -U pip setuptools
- pip install setuptools-rust pytest pytest-benchmark tox tox-venv
test_script:
- ps: .\ci\appveyor\test.ps1

3
ci/actions/setup.ps1 Normal file
View File

@ -0,0 +1,3 @@
$env:PATH="$env:PYTHON;$env:PYTHON\\Scripts;$env:PATH"
$pythonLocation = Invoke-Expression "python -c `"import sys; print(sys.base_prefix)`""
$env:LIBPATH = "$env:LIBPATH; $( Join-Path $pythonLocation "libs" )"

View File

@ -1,8 +0,0 @@
$env:PATH="$env:PYTHON;$env:PYTHON\\Scripts;$env:PATH"
Start-FileDownload "https://static.rust-lang.org/dist/rust-nightly-${env:TARGET}.msi"
Start-Process -FilePath "msiexec.exe" -ArgumentList "/i rust-nightly-$env:TARGET.msi INSTALLDIR=`"$((Get-Location).Path)\rust-nightly-$env:TARGET`" /quiet /qn /norestart" -Wait
$env:PATH="$env:PATH;$((Get-Location).Path)/rust-nightly-$env:TARGET/bin"
$pythonLocation = Invoke-Expression "python -c `"import sys; print(sys.base_prefix)`""
$env:LIBPATH = "$env:LIBPATH; $( Join-Path $pythonLocation "libs" )"