Delete appveyor.yml
This commit is contained in:
parent
8204bd08a0
commit
c0386f3d00
|
@ -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
|
||||
|
|
24
appveyor.yml
24
appveyor.yml
|
@ -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
|
|
@ -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" )"
|
|
@ -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" )"
|
Loading…
Reference in New Issue