Skip to content

Commit

Permalink
Use api-28-ndk image for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Mygod committed Jan 30, 2019
1 parent d21a94e commit 07ec96b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ jobs:
build:
working_directory: ~/code
docker:
- image: circleci/android:api-28
- image: circleci/android:api-28-ndk
environment:
JVM_OPTS: -Xmx3500m
GRADLE_OPTS: -Dorg.gradle.workers.max=1 -Dorg.gradle.daemon=false -Dkotlin.compiler.execution.strategy="in-process"
Expand Down
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ services:
- docker

before_install:
- docker pull circleci/android:api-28
- docker pull circleci/android:api-28-ndk
- chmod -R a+wrx .

script:
- docker run --rm -v ${PWD}:/build circleci/android:api-28 bash -c "cd /build; ./gradlew assembleDebug check"
- docker run --rm -v ${PWD}:/build circleci/android:api-28-ndk bash -c "cd /build; ./gradlew assembleDebug check"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ You can check whether the latest commit builds under UNIX environment by checkin
```bash
mkdir build
sudo chown 3434:3434 build
docker run --rm -v ${PWD}/build:/build circleci/android:api-28 bash -c "cd /build; git clone https://github.com/shadowsocks/shadowsocks-android; cd shadowsocks-android; git submodule update --init --recursive; ./gradlew assembleDebug"
docker run --rm -v ${PWD}/build:/build circleci/android:api-28-ndk bash -c "cd /build; git clone https://github.com/shadowsocks/shadowsocks-android; cd shadowsocks-android; git submodule update --init --recursive; ./gradlew assembleDebug"
```

### [TRANSLATE](https://discourse.shadowsocks.org/t/poeditor-translation-main-thread/30)
Expand Down

0 comments on commit 07ec96b

Please sign in to comment.