Update build.yaml and build.sh

This commit is contained in:
Andrea Cavalli 2020-12-26 15:06:44 +01:00
parent 4234507925
commit 5e850fafe6
2 changed files with 17 additions and 0 deletions

View File

@ -89,6 +89,12 @@ jobs:
echo "REVISION: $REVISION" echo "REVISION: $REVISION"
source ./github-workflows/install-dependencies.sh source ./github-workflows/install-dependencies.sh
- name: Build
shell: bash
run: |
echo "REVISION: $REVISION"
source ./github-workflows/install-dependencies.sh
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v2
with: with:
name: tdlight-${{ env.SAFE_ARCH }} name: tdlight-${{ env.SAFE_ARCH }}

11
github-workflows/build.sh Executable file
View File

@ -0,0 +1,11 @@
#!/bin/bash -e
set -e
cd ./scripts/
./generate_maven_project.sh
./generate_td_tools.sh
./compile_td.sh
./compile_tdjni.sh
./build_generated_maven_project.sh
echo "Done."
exit 0