mirror of
https://github.com/scurest/apicula.git
synced 2025-06-19 07:05:35 -04:00
CD: use Github actions for download; delete appveyor
This commit is contained in:
parent
8b866bb9b9
commit
38e50cd8fe
@ -1,7 +1,6 @@
|
|||||||
<p align=center><img src="frontispiece.gif" alt="Ore ga Omae o Mamoru model in Blender"></p>
|
<p align=center><img src="frontispiece.gif" alt="Ore ga Omae o Mamoru model in Blender"></p>
|
||||||
<h3 align=center>apicula</h3>
|
<h3 align=center>apicula</h3>
|
||||||
<p align=center>
|
<p align=center>
|
||||||
<a href="https://ci.appveyor.com/project/scurest/apicula"><img src="https://ci.appveyor.com/api/projects/status/bavh9qh25mbta41x?svg=true" alt="Build status"></a>
|
|
||||||
<a href="https://github.com/XAMPPRocky/tokei"><img src="https://tokei.rs/b1/github/scurest/apicula?category=code" alt="Lines of code"></a>
|
<a href="https://github.com/XAMPPRocky/tokei"><img src="https://tokei.rs/b1/github/scurest/apicula?category=code" alt="Lines of code"></a>
|
||||||
<a href="LICENSE"><img src="https://img.shields.io/badge/license-0BSD-lightgrey.svg" alt="license 0BSD"></a>
|
<a href="LICENSE"><img src="https://img.shields.io/badge/license-0BSD-lightgrey.svg" alt="license 0BSD"></a>
|
||||||
<br>
|
<br>
|
||||||
@ -45,12 +44,9 @@ Importing apicula's COLLADA files has been tested in Blender and Maya.
|
|||||||
|
|
||||||
### Downloads
|
### Downloads
|
||||||
|
|
||||||
Pre-built binaries are available for Windows:
|
* [Download for Windows, 64-bit](https://github.com/scurest/apicula/releases/download/continuous/apicula-latest-windows.zip)
|
||||||
|
|
||||||
* [apicula for Windows, 64-bit](https://s3.amazonaws.com/apicula/apicula-latest-x86_64-pc-windows-msvc.zip)
|
This is built automatically off the latest `master`. You may need one of the Visual Studio
|
||||||
* [apicula for Windows, 32-bit](https://s3.amazonaws.com/apicula/apicula-latest-i686-pc-windows-msvc.zip)
|
|
||||||
|
|
||||||
These are built automatically off the latest `master`. You may need one of the Visual Studio
|
|
||||||
Redistributable packages installed.
|
Redistributable packages installed.
|
||||||
|
|
||||||
|
|
||||||
|
59
appveyor.yml
59
appveyor.yml
@ -1,59 +0,0 @@
|
|||||||
environment:
|
|
||||||
global:
|
|
||||||
PROJECT_NAME: apicula
|
|
||||||
matrix:
|
|
||||||
# Stable channel
|
|
||||||
- TARGET: i686-pc-windows-msvc
|
|
||||||
CHANNEL: stable
|
|
||||||
- TARGET: x86_64-pc-windows-msvc
|
|
||||||
CHANNEL: stable
|
|
||||||
|
|
||||||
# Install Rust and Cargo
|
|
||||||
# (Based on japaric/trust)
|
|
||||||
install:
|
|
||||||
- cd C:\
|
|
||||||
- ps: >-
|
|
||||||
If ($env:TARGET -eq 'x86_64-pc-windows-gnu') {
|
|
||||||
$env:PATH += ';C:\msys64\mingw64\bin'
|
|
||||||
} ElseIf ($Env:TARGET -eq 'i686-pc-windows-gnu') {
|
|
||||||
$env:PATH += ';C:\msys64\mingw32\bin'
|
|
||||||
}
|
|
||||||
- curl -sSf -o rustup-init.exe https://win.rustup.rs/
|
|
||||||
- rustup-init.exe -y --default-host %TARGET% --default-toolchain %CHANNEL%
|
|
||||||
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
|
|
||||||
- rustc -Vv
|
|
||||||
- cargo -V
|
|
||||||
- cd C:\projects\apicula
|
|
||||||
|
|
||||||
# 'cargo test' takes care of building for us, so disable Appveyor's build stage.
|
|
||||||
# This prevents the "directory does not contain a project or solution file" error.
|
|
||||||
# source: https://github.com/starkat99/appveyor-rust/blob/master/appveyor.yml#L113
|
|
||||||
build: false
|
|
||||||
|
|
||||||
# Equivalent to Travis' `script` phase
|
|
||||||
test_script:
|
|
||||||
- cargo build --verbose
|
|
||||||
- cargo test
|
|
||||||
|
|
||||||
before_deploy:
|
|
||||||
# Generate artifacts for release
|
|
||||||
- cargo build --release
|
|
||||||
- mkdir staging
|
|
||||||
- copy target\release\apicula.exe staging
|
|
||||||
- cd staging
|
|
||||||
- 7z a ../%PROJECT_NAME%-latest-%TARGET%.zip *
|
|
||||||
- appveyor PushArtifact ../%PROJECT_NAME%-latest-%TARGET%.zip
|
|
||||||
|
|
||||||
deploy:
|
|
||||||
provider: S3
|
|
||||||
access_key_id: $(S3_ACCESS_KEY)
|
|
||||||
secret_access_key: $(S3_SECRET_KEY)
|
|
||||||
bucket: apicula
|
|
||||||
set_public: true
|
|
||||||
artifact: /.*\.zip/
|
|
||||||
on:
|
|
||||||
CHANNEL: stable
|
|
||||||
|
|
||||||
branches:
|
|
||||||
only:
|
|
||||||
- master
|
|
Loading…
Reference in New Issue
Block a user