CI #5
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
workflow_dispatch: | |
inputs: | |
nva_api_url: | |
description: 'NavAbility API location' | |
required: true | |
default: "https://api.navability.io/graphql" | |
type: string | |
nva_token: | |
description: 'NavAbility API Token' | |
required: true | |
type: string | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build Native (tokio) | |
run: | | |
echo "Trigger build.rs with tokio build" | |
export NVA_API_URL=$(cat $GITHUB_EVENT_PATH | jq -r ".inputs.nva_api_url" ) | |
echo "::add-mask::$NVA_API_URL" | |
export NVA_API_TOKEN=$(cat $GITHUB_EVENT_PATH | jq -r ".inputs.nva_token" ) | |
echo "::add-mask::$NVA_API_TOKEN" | |
make build-tokio | |
- name: Build WASM | |
run: make build-wasm | |
- name: Install Test Deps | |
run: cargo install --force cbindgen | |
- name: Run tests | |
run: | | |
make test-tokio |