Skip to content

initial grpc support #17

initial grpc support

initial grpc support #17

Workflow file for this run

name: Build
on:
workflow_call:
inputs:
publish-artifact:
default: false
required: false
type: boolean
workflow_dispatch:
pull_request:
branches:
- master
jobs:
build_check:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Rust Setup
uses: dtolnay/rust-toolchain@stable
with:
toolchain: "stable"
targets: "x86_64-unknown-linux-musl"
- uses: Swatinem/rust-cache@v2
- uses: awalsh128/cache-apt-pkgs-action@v1
with:
packages: musl-tools protobuf-compiler # provides musl-gcc
version: 1.0
- name: Build the project to `musl` output
working-directory: ./server
run: 'cargo build --release --target x86_64-unknown-linux-musl'
- run: touch config.toml
- name: Archive production artifacts
uses: actions/upload-artifact@v3
if: ${{ inputs.publish-artifact }}
with:
name: build-musl
path: |
target/x86_64-unknown-linux-musl/release/yral-metadata-server
config.toml