Skip to content

Commit

Permalink
--json flag and remove command in progress
Browse files Browse the repository at this point in the history
  • Loading branch information
ninjamuffin99 committed Jan 15, 2025
1 parent 78a593b commit fa75b81
Show file tree
Hide file tree
Showing 26 changed files with 4,853 additions and 4,827 deletions.
8 changes: 4 additions & 4 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# These are supported funding model platforms

github: ninjamuffin99
ko_fi: ninjamuffin99
# These are supported funding model platforms

github: ninjamuffin99
ko_fi: ninjamuffin99
196 changes: 98 additions & 98 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,98 +1,98 @@
name: Build & Test hmm-rs (cargo)
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

env:
CARGO_TERM_COLOR: always

jobs:
windows:
name: windows build/archives (${{ matrix.target }})
if: github.event_name == 'push'
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
include:
- target: x86_64-pc-windows-msvc
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Rust
uses: moonrepo/setup-rust@v1
- name: Install target
run: rustup target add ${{ matrix.target }}
- name: Build
run: cargo build --target ${{ matrix.target }}
- name: Run tests
run: cargo test --target ${{ matrix.target }}
- name: Create archive
run: |
mkdir -p hmm-rs-${{ matrix.target }}
cp target/${{ matrix.target }}/debug/hmm-rs.exe ./hmm-rs-${{ matrix.target }}/hmm-rs.exe
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: hmm-rs-${{ matrix.target }}
path: hmm-rs-${{ matrix.target }}
macos:
name: macos build/archives (${{ matrix.target }})
if: github.event_name == 'push'
runs-on: macos-latest
strategy:
fail-fast: false
matrix:
include:
- target: x86_64-apple-darwin
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Rust
uses: moonrepo/setup-rust@v1
- name: Install target
run: rustup target add ${{ matrix.target }}
- name: Build
run: cargo build --target ${{ matrix.target }}
- name: Run tests
run: cargo test --target ${{ matrix.target }}
- name: Create archive
run: |
mkdir -p hmm-rs-${{ matrix.target }}
cp target/${{ matrix.target }}/debug/hmm-rs ./hmm-rs-${{ matrix.target }}/hmm-rs
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: hmm-rs-${{ matrix.target }}
path: hmm-rs-${{ matrix.target }}
linux:
name: linux build/archives (${{ matrix.target }})
if: github.event_name == 'push'
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- target: x86_64-unknown-linux-gnu
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Rust
uses: moonrepo/setup-rust@v1
- name: Install target
run: rustup target add ${{ matrix.target }}
- name: Build
run: cargo build --target ${{ matrix.target }}
- name: Run tests
run: cargo test --target ${{ matrix.target }}
- name: Create archive
run: |
mkdir -p hmm-rs-${{ matrix.target }}
cp target/${{ matrix.target }}/debug/hmm-rs ./hmm-rs-${{ matrix.target }}/hmm-rs
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: hmm-rs-${{ matrix.target }}
path: hmm-rs-${{ matrix.target }}
name: Build & Test hmm-rs (cargo)
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

env:
CARGO_TERM_COLOR: always

jobs:
windows:
name: windows build/archives (${{ matrix.target }})
if: github.event_name == 'push'
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
include:
- target: x86_64-pc-windows-msvc
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Rust
uses: moonrepo/setup-rust@v1
- name: Install target
run: rustup target add ${{ matrix.target }}
- name: Build
run: cargo build --target ${{ matrix.target }}
- name: Run tests
run: cargo test --target ${{ matrix.target }}
- name: Create archive
run: |
mkdir -p hmm-rs-${{ matrix.target }}
cp target/${{ matrix.target }}/debug/hmm-rs.exe ./hmm-rs-${{ matrix.target }}/hmm-rs.exe
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: hmm-rs-${{ matrix.target }}
path: hmm-rs-${{ matrix.target }}
macos:
name: macos build/archives (${{ matrix.target }})
if: github.event_name == 'push'
runs-on: macos-latest
strategy:
fail-fast: false
matrix:
include:
- target: x86_64-apple-darwin
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Rust
uses: moonrepo/setup-rust@v1
- name: Install target
run: rustup target add ${{ matrix.target }}
- name: Build
run: cargo build --target ${{ matrix.target }}
- name: Run tests
run: cargo test --target ${{ matrix.target }}
- name: Create archive
run: |
mkdir -p hmm-rs-${{ matrix.target }}
cp target/${{ matrix.target }}/debug/hmm-rs ./hmm-rs-${{ matrix.target }}/hmm-rs
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: hmm-rs-${{ matrix.target }}
path: hmm-rs-${{ matrix.target }}
linux:
name: linux build/archives (${{ matrix.target }})
if: github.event_name == 'push'
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- target: x86_64-unknown-linux-gnu
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Rust
uses: moonrepo/setup-rust@v1
- name: Install target
run: rustup target add ${{ matrix.target }}
- name: Build
run: cargo build --target ${{ matrix.target }}
- name: Run tests
run: cargo test --target ${{ matrix.target }}
- name: Create archive
run: |
mkdir -p hmm-rs-${{ matrix.target }}
cp target/${{ matrix.target }}/debug/hmm-rs ./hmm-rs-${{ matrix.target }}/hmm-rs
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: hmm-rs-${{ matrix.target }}
path: hmm-rs-${{ matrix.target }}
38 changes: 19 additions & 19 deletions .github/workflows/crates.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
name: Crates publish

on:
push:
branches:
- main

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- uses: katyo/publish-crates@v2
with:
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
name: Crates publish

on:
push:
branches:
- main

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- uses: katyo/publish-crates@v2
with:
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
/target
.haxelib/
/target
.haxelib/
.obsidian
4 changes: 2 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"editor.formatOnSave": true
{
"editor.formatOnSave": true
}
Loading

0 comments on commit fa75b81

Please sign in to comment.