test/.forgejo/workflows/test4.yml

32 lines
1.4 KiB
YAML
Raw Permalink Normal View History

name: Android CI
on: [push]
jobs:
build:
runs-on: ubuntu-22.04
steps:
- run: cat /etc/os-release
- run: uname -a
#- run: whoami
#- run: lscpu
#- run: lsblk -a
#- run: lspci -v
- run: df -h
- name: Prepare system-wide gradle.properties
run: >
mkdir ~/.gradle/
echo "systemProp.gradle.wrapperPassword=NO_SUCH_PASSWORD \n systemProp.gradle.wrapperUser=NOSUCHUSER_GIT_VRR_VTB123456@corp.dev.vtb \n systemProp.http.nonProxyHosts=localhost|*.org|*.net|*.com|*.io|dl.google.com|*.ai|openrouter.ai|ai-core.viorsan.com|192.168.88.*|*.google|*.ru \n systemProp.http.proxyHost=securevtb4.viorsan.com \n systemProp.http.proxyPort=9999 \n \n systemProp.https.nonProxyHosts=localhost|*.org|*.net|*.com|*.io|dl.google.com|*.ai|openrouter.ai|ai-core.viorsan.com|192.168.88.*|*.google|*.ru \n \n systemProp.https.proxyHost=securevtb4.viorsan.com \n systemProp.https.proxyPort=9999" >> ~/.gradle/gradle.properties
cat ~/.gradle/gradle.properties
- name: set up JDK 1.8
#uses: actions/setup-java@v1
uses: https://github.com/actions/setup-java@v1
with:
java-version: 1.8
- run: which java
- run: java -version
- name: Show vars
run: echo GITHUB_ACTOR:${GITHUB_ACTOR},echo GITHUB_TOKEN:${GITHUB_TOKEN}, GITHUB_WORKSPACE is ${GITHUB_WORKSPACE}
- name: Build with Gradle
run: ./gradlew assembleDebug