1
0
Fork 0
mirror of https://github.com/doukutsu-rs/doukutsu-rs synced 2024-11-16 10:52:44 +00:00

Revert changes [ci skip]

This commit is contained in:
biroder 2023-04-23 15:04:41 +03:00 committed by GitHub
parent 38338ae551
commit 0e164a44df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,17 +8,10 @@ skip_commits:
- drsandroid/ - drsandroid/
- drshorizon/ - drshorizon/
environment: environment:
global: global:
PROJECT_NAME: doukutsu-rs PROJECT_NAME: doukutsu-rs
matrix: 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 - channel: stable
target: x86_64-pc-windows-msvc target: x86_64-pc-windows-msvc
target_name: win64 target_name: win64
@ -51,48 +44,6 @@ matrix:
fast_finish: true fast_finish: true
for: 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: matrix:
only: only: