mirror of
https://github.com/doukutsu-rs/doukutsu-rs
synced 2024-11-26 23:33:01 +00:00
Revert changes [ci skip]
This commit is contained in:
parent
38338ae551
commit
0e164a44df
|
@ -8,17 +8,10 @@ skip_commits:
|
|||
- drsandroid/
|
||||
- drshorizon/
|
||||
|
||||
|
||||
environment:
|
||||
global:
|
||||
PROJECT_NAME: doukutsu-rs
|
||||
matrix:
|
||||
- channel: stable
|
||||
target: x86_64-unknown-linux-gnu
|
||||
extra_targets: aarch64-linux-android armv7-linux-androideabi i686-linux-android
|
||||
target_name: android
|
||||
job_name: android-arm64
|
||||
appveyor_build_worker_image: Ubuntu
|
||||
- channel: stable
|
||||
target: x86_64-pc-windows-msvc
|
||||
target_name: win64
|
||||
|
@ -51,48 +44,6 @@ matrix:
|
|||
fast_finish: true
|
||||
|
||||
for:
|
||||
-
|
||||
matrix:
|
||||
only:
|
||||
- appveyor_build_worker_image: Ubuntu
|
||||
job_name: android
|
||||
|
||||
install:
|
||||
- sudo apt-get update && sudo apt-get -y install libasound2-dev libudev-dev libgl1-mesa-dev pkg-config
|
||||
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -yv --default-toolchain $channel --default-host $target
|
||||
- export PATH=$PATH:$HOME/.cargo/bin
|
||||
- rustup update
|
||||
- rustup default $channel
|
||||
- rustup target add $extra_targets
|
||||
- rustc -vV
|
||||
- cargo -vV
|
||||
- java --version
|
||||
|
||||
cache:
|
||||
- '$HOME/.cache'
|
||||
- '$HOME/.cargo/bin'
|
||||
- '$HOME/.cargo/registry/index'
|
||||
- '$HOME/.cargo/registry/cache'
|
||||
- '$HOME/.cargo/git/db'
|
||||
- '$HOME/.gradle/caches'
|
||||
- '$HOME/.gradle/wrapper'
|
||||
- '$HOME/.rustup'
|
||||
- 'app/app/.cxx'
|
||||
- 'app/app/build/intermediates'
|
||||
- 'app/app/build/outputs/'
|
||||
- 'app/build'
|
||||
- 'drsandroid/target/aarch64-linux-android'
|
||||
|
||||
build_script:
|
||||
#- export DRS_BUILD_VERSION_OVERRIDE=$APPVEYOR_BUILD_VERSION
|
||||
- if [ "$APPVEYOR_REPO_TAG" = "true" ]; then export DRS_BUILD_VERSION_OVERRIDE=$APPVEYOR_REPO_TAG_NAME; else export DRS_BUILD_VERSION_OVERRIDE=$APPVEYOR_BUILD_VERSION; fi
|
||||
- cd app
|
||||
- ./gradlew assembleRelease
|
||||
- mkdir ../release
|
||||
- cd ..
|
||||
- cp app/app/build/outputs/apk/release/app-release.apk release/doukutsu-rs_$target_name.apk
|
||||
- appveyor PushArtifact release/doukutsu-rs_$target_name.apk
|
||||
|
||||
-
|
||||
matrix:
|
||||
only:
|
||||
|
|
Loading…
Reference in a new issue