refactor: Fix github build pipeline
This commit is contained in:
parent
7564869ea8
commit
8e9388c353
5 changed files with 60 additions and 9 deletions
|
|
@ -1,7 +1,7 @@
|
|||
use std::collections::HashMap;
|
||||
|
||||
use crate::utils::parse::{Responses, Testcase, Testcases};
|
||||
use tasks01::{block2poly::block2poly, poly2block::poly2block, sea128::sea128};
|
||||
use tasks01::{block2poly::block2poly, gfmul::gfmul, poly2block::poly2block, sea128::sea128};
|
||||
|
||||
use anyhow::{anyhow, Result};
|
||||
use serde_json::{json, Value};
|
||||
|
|
@ -34,6 +34,11 @@ pub fn task_deploy(testcase: &Testcase) -> Result<Value> {
|
|||
let json = json!({"output" : result});
|
||||
Ok(json)
|
||||
}
|
||||
"gfmul" => {
|
||||
let result = gfmul(args)?;
|
||||
let json = json!({"product" : result});
|
||||
Ok(json)
|
||||
}
|
||||
_ => Err(anyhow!(
|
||||
"Fatal. No compatible action found. Json data was {:?}. Arguments were; {:?}",
|
||||
testcase,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue