Skip to content

feat: add cargo make scripts #15

feat: add cargo make scripts

feat: add cargo make scripts #15

Workflow file for this run

name: Build
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
env:
CARGO_TERM_COLOR: always
jobs:
build:
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest, windows-latest]
include:
- os: ubuntu-latest
file: pocket-relay-client
file_name: Ubuntu Build
- os: windows-latest
file: pocket-relay-client.exe
file_name: Windows Build
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Build Client
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.file_name }}
path: "./target/debug/${{ matrix.file }}"