Skip to content
This repository has been archived by the owner on Aug 11, 2024. It is now read-only.

Commit

Permalink
U | Preview | Finish #29 (#27)
Browse files Browse the repository at this point in the history
Big update| All | Clean the repo for changing in C
  • Loading branch information
FTS427 authored Mar 15, 2024
1 parent cc82555 commit 465e2cc
Show file tree
Hide file tree
Showing 17 changed files with 18 additions and 472 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/preview-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Conifg cmake
- name: Cmake
uses: threeal/cmake-action@v1.3.0
- name: CMake build
run: |
cd ${{ github.workspace }}
ls
cd build
cmake --version
cmake ../
shell: sh
- name: Upload exec file
uses: actions/upload-artifact@v3.1.2
with:
name: MCT-Pre
path: build/MCT

30 changes: 8 additions & 22 deletions .github/workflows/stable-build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: MCT-StableBuild
name: Stable-Build

on:
push:
Expand All @@ -7,29 +7,15 @@ on:
branches: [ "Stable" ]

jobs:

linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: build-linux
run: make
working-directory: src
- name: Build MCT-Linux
uses: actions/upload-artifact@v3.1.2
with:
name: MCT-Linux
path: src/MCT-Linux

windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: build-windows
run: g++ MCT-Windows.cpp -o MCT-Windows.exe
working-directory: src
- name: Build MCT-Windows
- name: Checkout
uses: actions/checkout@v3
- name: Cmake
uses: threeal/cmake-action@v1.3.0
- name: Upload exec file
uses: actions/upload-artifact@v3.1.2
with:
name: MCT-Windows
path: src/MCT-Windows
name: MCT
path: build/MCT
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.vscode
.cache
build
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
cmake_minimum_required(VERSION 3.9)
cmake_minimum_required(VERSION 3.28.3)

PROJECT(MCT)
INCLUDE_DIRECTORIES(
./src/include
)
AUX_SOURCE_DIRECTORY(src ./src)
ADD_EXECUTABLE(${PROJECT_NAME} ./src/main.cpp)

56 changes: 2 additions & 54 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,56 +1,4 @@
<div align="center">
<img width="175" src="/assets/MCT.png"></img>
</div>
# In prograssing

<h1 align="center">MathCentralTool</h1>

<div align="center">

[![Stars](https://img.shields.io/github/stars/QuantumLS-Studio/MathCentralTool?logo=github&label=Stars&style=for-the-badge)](https://github.com/QuantumLS-Studio/MathCentralTool/stargazers)
[![License](https://img.shields.io/github/license/QuantumLS-Studio/MathCentralTool?logo=github&label=License&style=for-the-badge&color=ff7a35)](https://github.com/QuantumLS-Studio/MathCentralTool/blob/master/LICENSE)
[![Issues](https://img.shields.io/github/issues/QuantumLS-Studio/MathCentralTool?logo=github&lable=issues&style=for-the-badge "Issues")](https://github.com/QuantumLS-Studio/MathCentralTool/issues)
[![Forks](https://img.shields.io/github/forks/QuantumLS-Studio/MathCentralTool?logo=github&style=for-the-badge "Forks")](https://github.com/QuantumLS-Studio/MathCentralTool/forks)

[![Version](https://img.shields.io/github/v/tag/QuantumLS-Studio/MathCentralTool?label=Version&style=for-the-badge "Version")](https://github.com/QuantumLS-Studio/MathCentralTool/releases/latest)

[![Stable](https://img.shields.io/github/actions/workflow/status/QuantumLS-Studio/MathCentralTool/stable-build.yml?label=Stable&style=for-the-badge "Stable")](https://github.com/QuantumLS-Studio/MathCentralTool/actions/workflows/stable-build.yml)
[![Preview](https://img.shields.io/github/actions/workflow/status/QuantumLS-Studio/MathCentralTool/preview-build.yml?label=Preview&style=for-the-badge "Preview")](https://github.com/QuantumLS-Studio/MathCentralTool/actions/workflows/preview-build.yml)

</div>

[🀄简体中文](/README_zh.md) | 🔠[English](/README.md)

## 📃 Introduce

A terminal-based math tool that runs on linux.

This program is free and open source. We allow everyone to use the source code for enrichment, compilation, etc. But we don't take any responsibility for any problems!

⚠ Note: This program cannot be used for science! If anything goes wrong, do so at your own risk!

## ❔ How to use

Look in the GitAction and choose waht you need.

Or clone and compile by yourself.

📦 Compilation environment requirements: cmake, ninja, gcc

## 🧑‍💻 Contribution and thanks

[FTS427](https://github.com/FTS427) responsible for the entire project

[JWJUN233233](https://github.com/JWJUN233233) provides help with "Git Action" for this project

[N55743](https://github.com/N55743) provided Windows testing and translation services for the entire project, and asked some questions and suggestions

Thank every developer very much for their help!👍

## 👀 Other

Change log [change](/change_log.md)

This project also powered by [ECCPH](https://github.com/QuantumLS-Studio/ECCPH)

Old versions[MathCentralTools](https://github.com/FTS427/MathCentralTools)(Archived🗃️)
Yes, we're turning the WHOLE poject to C, PR is always welcome!

55 changes: 2 additions & 53 deletions README_zh.md
Original file line number Diff line number Diff line change
@@ -1,55 +1,4 @@
<div align="center">
<img width="175" src="/other/MCT.png"></img>
</div>
# In prograssing

<h1 align="center">MathCentralTool</h1>
Yes, we're turning the WHOLE poject to C, PR is always welcome!

<div align="center">

[![星标](https://img.shields.io/github/stars/QuantumLS-Studio/MathCentralTool?logo=github&label=星标&style=for-the-badge)](https://github.com/QuantumLS-Studio/MathCentralTool/stargazers)
[![协议](https://img.shields.io/github/license/QuantumLS-Studio/MathCentralTool?logo=github&label=协议&style=for-the-badge&color=ff7a35)](https://github.com/QuantumLS-Studio/MathCentralTool/blob/master/LICENSE)
[![议题](https://img.shields.io/github/issues/QuantumLS-Studio/MathCentralTool?logo=github&lable=议题&style=for-the-badge "议题")](https://github.com/QuantumLS-Studio/MathCentralTool/issues)
[![分支](https://img.shields.io/github/forks/QuantumLS-Studio/MathCentralTool?logo=github&style=for-the-badge "分支")](https://github.com/QuantumLS-Studio/MathCentralTool/forks)

[![版本](https://img.shields.io/github/v/tag/QuantumLS-Studio/MathCentralTool?label=版本&style=for-the-badge "版本")](https://github.com/QuantumLS-Studio/MathCentralTool/releases/latest)

[![Stable](https://img.shields.io/github/actions/workflow/status/QuantumLS-Studio/MathCentralTool/stable-build.yml?label=Stable&style=for-the-badge "Stable")](https://github.com/QuantumLS-Studio/MathCentralTool/actions/workflows/stable-build.yml)
[![Preview](https://img.shields.io/github/actions/workflow/status/QuantumLS-Studio/MathCentralTool/preview-build.yml?label=Preview&style=for-the-badge "Preview")](https://github.com/QuantumLS-Studio/MathCentralTool/actions/workflows/preview-build.yml)

</div>

[🀄简体中文](/README_zh.md) | [🔠English](/README.md)

## 📃介绍

一个基于终端的数学小工具。

本程序是免费开源的,此源代码可以随意使用。允许任何人使用源代码进行扩充,编译等操作。出现任何问题,本人不承担任何责任!

⚠ 注意:本程序处于开发阶段,不可用于科学的精密计算!如果出现任何问题,后果自负!

## ❔如何使用

在GitAction中寻找符合自己设备的版本

或自行拉取编译

📦编译环境需求:cmake, ninja,gcc

## 🧑‍💻感谢

[FTS427](https://github.com/FTS427)负责了整个项目

[JWJUN233233](https://github.com/JWJUN233233)提供了对于这个项目有关于“Git Action”的帮助

[N55743](https://github.com/N55743)提供了Windows端的测试和提出了一些问题

在此非常感谢每一位贡献人员的帮助!👍

## 👀其他

之前的更改?在[这里](/change_log.md)

本项目使用了头文件[ECPPH](https://github.com/QuantumLS-Studio/ECPPH)

先前的版本参见[MathCentralTools](https://github.com/FTS427/MathCentralTools)(已归档🗃️)
Binary file removed assets/MCT.png
Binary file not shown.
2 changes: 2 additions & 0 deletions change_log.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
> 本文件不再使用
# 数学集成工具

> 注:本更新日志从 v0.0.0.7 开始使用
Expand Down
5 changes: 0 additions & 5 deletions make.sh

This file was deleted.

95 changes: 0 additions & 95 deletions src/include/ecp.h

This file was deleted.

Empty file added src/main.c
Empty file.
60 changes: 0 additions & 60 deletions src/main.cpp

This file was deleted.

29 changes: 0 additions & 29 deletions src/module/calc.cpp

This file was deleted.

Loading

0 comments on commit 465e2cc

Please sign in to comment.