Skip to content

Commit

Permalink
Automate build with GitHub Actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
icehong committed Mar 3, 2020
1 parent eac3570 commit 825f03f
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,21 @@ jobs:

runs-on: ubuntu-latest

steps:
steps:
- uses: actions/checkout@v2
- name: Get GNUGo
run: |
git clone --depth=1 git://git.savannah.gnu.org/gnugo.git
cd gnugo
./configure
make
make clean
cp -r --no-clobber ./ ../src/main/jni/project/gnugo-3.8
cd ..
rm -rf gnugo
- name: set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build with Gradle
run: sudo ./gradlew build
run: ./gradlew build

0 comments on commit 825f03f

Please sign in to comment.