mirror of
https://github.com/fluencelabs/aqua.git
synced 2024-12-04 22:50:18 +00:00
aa10706506
* move integration tests to repo * Move aqua-playground CI * Fix * Use local aqua cli * Move aqua tests to e2e * Test new build.sbt * Fix? * Test * Test * Test * Test * Update * Fix * Fix * Fix * fix * Fix * Rename aqua-api to api directory for consistency * Migrate to pnpm * Add bump version script * Test snapshot workflow * fix * Fix * Fix * Setup pnpm * Update pnpm version * Fix * Do not publish tests * Update * Fix * Fix? * delete import * Fix * Fix * Fix? * Fix * Fix * Use main branch * Fix quotes * Fix * Fix release * Cleanup * Remove compiled examples * Cleanup --------- Co-authored-by: DieMyst <dmitry.shakhtarin@fluence.ai>
71 lines
1.5 KiB
YAML
71 lines
1.5 KiB
YAML
name: "Publish binary aqua"
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
runs-on:
|
|
type: string
|
|
required: true
|
|
arch:
|
|
type: string
|
|
required: true
|
|
os:
|
|
type: string
|
|
required: true
|
|
static:
|
|
type: boolean
|
|
required: true
|
|
workflow_call:
|
|
inputs:
|
|
runs-on:
|
|
type: string
|
|
required: true
|
|
arch:
|
|
type: string
|
|
required: true
|
|
os:
|
|
type: string
|
|
required: true
|
|
static:
|
|
type: boolean
|
|
required: true
|
|
|
|
jobs:
|
|
build:
|
|
name: "Publish aqua-native"
|
|
runs-on: ${{ inputs.runs-on }}
|
|
timeout-minutes: 10
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- uses: graalvm/setup-graalvm@v1
|
|
with:
|
|
version: '22.3.1'
|
|
java-version: '17'
|
|
set-java-home: true
|
|
components: 'native-image'
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- uses: coursier/cache-action@v6
|
|
|
|
- uses: coursier/setup-action@v1
|
|
with:
|
|
apps: sbt
|
|
|
|
- name: build
|
|
run: sbt "cli/GraalVMNativeImage/packageBin"
|
|
env:
|
|
COMPILE_STATIC: ${{ inputs.static }}
|
|
|
|
- uses: actions/upload-artifact@v3
|
|
with:
|
|
name: aqua-${{ inputs.os }}-${{ inputs.arch }}
|
|
path: cli/cli/.jvm/target/graalvm-native-image/cli
|
|
|
|
- uses: actions/upload-artifact@v3
|
|
with:
|
|
name: aqua-${{ inputs.os }}-${{ inputs.arch }}
|
|
path: cli/cli/.jvm/target/graalvm-native-image/cli
|