parent
ccfe3707aa
commit
e2feb91777
21
.gitea/workflows/cli.yaml
Normal file
21
.gitea/workflows/cli.yaml
Normal file
|
@ -0,0 +1,21 @@
|
|||
name: Build and Test with cargo
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: ./tnm-cli
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Build
|
||||
run: cargo build --verbose
|
21
.gitea/workflows/gui.yaml
Normal file
21
.gitea/workflows/gui.yaml
Normal file
|
@ -0,0 +1,21 @@
|
|||
name: Build and Test with cargo
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: ./tnm-gui
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Build
|
||||
run: cargo build --verbose
|
|
@ -1,4 +1,4 @@
|
|||
use std::process::{ExitCode, Termination};
|
||||
use std::process::{ExitCode};
|
||||
use anyhow::{Result, Context};
|
||||
use clap::{Command};
|
||||
|
||||
|
|
Loading…
Reference in a new issue