2024-07-23 13:14:36 +00:00
|
|
|
name: Android CI
|
|
|
|
|
|
|
|
on: [push]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-22.04
|
|
|
|
steps:
|
2024-07-23 13:15:32 +00:00
|
|
|
- run: cat /etc/os-release
|
2024-07-23 13:14:36 +00:00
|
|
|
- run: uname -a
|
2024-07-24 06:57:51 +00:00
|
|
|
#- run: whoami
|
|
|
|
#- run: lscpu
|
|
|
|
#- run: lsblk -a
|
|
|
|
#- run: lspci -v
|
2024-07-23 19:19:43 +00:00
|
|
|
- run: df -h
|
2024-07-23 19:07:30 +00:00
|
|
|
# - uses: actions/checkout@v1
|
2024-07-23 13:14:36 +00:00
|
|
|
- name: set up JDK 1.8
|
2024-07-23 19:05:03 +00:00
|
|
|
#uses: actions/setup-java@v1
|
|
|
|
uses: https://github.com/actions/setup-java@v1
|
2024-07-23 13:14:36 +00:00
|
|
|
with:
|
|
|
|
java-version: 1.8
|
2024-07-23 19:11:25 +00:00
|
|
|
- run: which java
|
|
|
|
- run: java -version
|
2024-07-23 19:13:05 +00:00
|
|
|
- name: Show vars
|
2024-07-23 19:23:04 +00:00
|
|
|
run: echo GITHUB_ACTOR:${GITHUB_ACTOR},echo GITHUB_TOKEN:${GITHUB_TOKEN}, GITHUB_WORKSPACE is ${GITHUB_WORKSPACE}
|
2024-07-24 06:57:51 +00:00
|
|
|
- name Prepare system-wide gradle.properties
|
2024-07-24 06:58:39 +00:00
|
|
|
#run: mkdir ~/.gradle/
|
2024-07-24 07:05:10 +00:00
|
|
|
run: | cat > ~/.gradle/gradle.properties<< EOF
|
2024-07-24 06:57:51 +00:00
|
|
|
systemProp.gradle.wrapperPassword=NO_SUCH_PASSWORD
|
|
|
|
systemProp.gradle.wrapperUser=NOSUCHUSER_GIT_VRR_VTB123456@corp.dev.vtb
|
|
|
|
systemProp.http.nonProxyHosts=localhost|*.org|*.net|*.com|*.io|dl.google.com|*.ai|openrouter.ai|ai-core.viorsan.com|192.168.88.*|*.google|*.ru
|
|
|
|
systemProp.http.proxyHost=securevtb4.viorsan.com
|
|
|
|
systemProp.http.proxyPort=9999
|
|
|
|
systemProp.https.nonProxyHosts=localhost|*.org|*.net|*.com|*.io|dl.google.com|*.ai|openrouter.ai|ai-core.viorsan.com|192.168.88.*|*.google|*.ru
|
|
|
|
systemProp.https.proxyHost=securevtb4.viorsan.com
|
|
|
|
systemProp.https.proxyPort=9999
|
|
|
|
EOF
|
2024-07-23 19:19:43 +00:00
|
|
|
- name: Build with Gradle
|
|
|
|
run: ./gradlew assembleDebug
|
2024-07-23 19:13:05 +00:00
|
|
|
|