summaryrefslogtreecommitdiff
path: root/.github/workflows/build.yaml
blob: 65fa66e73ca4493d4fd06a741d6133e82079449a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# The name of our workflow
name: Build
on: [push, pull_request]

jobs:
  build:
    strategy:
      matrix:
          target: [assembleUiRelease, assembleSkeletonRelease]
    runs-on: ubuntu-latest
    steps:
      - name: Use debug signing
        run: mkdir -p ~/.gradle && echo -e "icsopenvpnDebugSign=true\norg.gradle.jvmargs=-Xmx2048M" > ~/.gradle/gradle.properties
      - name: Checkout the code
        uses: actions/checkout@v2
        with:
          submodules: true
      - name: Build the app
        run: ./gradlew ${{ matrix.target }}