Update libwallet build for Github actions
name: Build libwallet
on:
push:
+ branches:
+ - development
+ - libwallet
tags:
- "libwallet-*"
jobs:
- build_libs:
+ build-and-upload:
runs-on: ubuntu-latest
steps:
- # Step 1: Checkout the code
+ # Checkout the code
- uses: actions/checkout@v2
- # Step 2: Build and package the libraries
+ # Build and package the libraries
- name: Build libwallet
id: build-libwallet
- uses: tari-project/action-buildlibs@v0.2.0
+ uses: tari-project/action-buildlibs@v0.3.0
with:
- platforms: "x86_64-linux-android;aarch64-linux-android;i686-linux-android;armv7-linux-androideabi"
+ platforms: "x86_64-linux-android;aarch64-linux-android;armv7-linux-androideabi"
level: "24"
- # Step 3: Copy tarballs to S3
+ # Upload artifacts to Github
+ - name: Upload artifacts
+ uses: actions/upload-artifact@v2
+ with:
+ name: libwallet
+ path: ${{ github.workspace }}/libwallet/
+ # Copy tarballs to S3
- name: Sync to S3
uses: jakejarvis/s3-sync-action@v0.5.1
with:
@@ -29,4 +38,3 @@ jobs:
AWS_REGION: 'us-east-1' # optional: defaults to us-east-1
SOURCE_DIR: '$GITHUB_WORKSPACE/libwallet'
DEST_DIR: 'libwallet'
-
