Skip to content

Restructure modules #164

Restructure modules

Restructure modules #164

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
build:
name: Build for ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
name: [linux, windows, macos]
include:
- name: linux
os: ubuntu-latest
bff_cli_executable_name: bff-cli
- name: windows
os: windows-latest
bff_cli_executable_name: bff-cli.exe
- name: macos
os: macos-latest
bff_cli_executable_name: bff-cli
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
- name: Build
run: cargo build --release --locked
- name: Archive Artifacts
uses: actions/upload-artifact@v3
with:
name: bff-${{ matrix.name }}-${{ github.sha }}
path: ./target/release/${{ matrix.bff_cli_executable_name }}