diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml index 36d968cdb..5043da197 100644 --- a/.github/workflows/cmake-multi-platform.yml +++ b/.github/workflows/cmake-multi-platform.yml @@ -25,7 +25,7 @@ jobs: matrix: os: [ubuntu-latest, windows-latest] build_type: [Release] - c_compiler: [gcc, clang, cl] + c_compiler: [gcc, cl] include: - os: windows-latest c_compiler: cl @@ -33,9 +33,6 @@ jobs: - os: ubuntu-latest c_compiler: gcc cpp_compiler: g++ - - os: ubuntu-latest - c_compiler: clang - cpp_compiler: clang++ # - os: macos-latest # c_compiler: gcc # cpp_compiler: g++ @@ -45,15 +42,13 @@ jobs: exclude: - os: windows-latest c_compiler: gcc - - os: windows-latest - c_compiler: clang - os: ubuntu-latest c_compiler: cl # - os: macos-latest # c_compiler: cl steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set reusable strings # Turn repeated input strings (such as the build output directory) into step outputs. These step outputs can be used throughout the workflow file. @@ -89,4 +84,3 @@ jobs: name: Build ${{ matrix.os }}-${{ matrix.cpp_compiler }} # A file, directory or wildcard pattern that describes what to upload path: ${{ steps.strings.outputs.build-output-dir }} - diff --git a/README.md b/README.md index fd7aea048..97a1109b2 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,10 @@ # The Steppable Project -[![Build Status](https://dev.azure.com/NWSOFT/Steppable/_apis/build/status%2FSteppable?branchName=main)](https://dev.azure.com/NWSOFT/Steppable/_build/latest?definitionId=3&branchName=main) +[![CMake Build](https://github.com/ZCG-coder/Steppable/actions/workflows/cmake-multi-platform.yml/badge.svg)](https://github.com/ZCG-coder/Steppable/actions/workflows/cmake-multi-platform.yml) + +[![Doxygen Deploy](https://github.com/ZCG-coder/Steppable/actions/workflows/doxygen-gh-pages.yml/badge.svg)](https://github.com/ZCG-coder/Steppable/actions/workflows/doxygen-gh-pages.yml) + +![GitHub Repo stars](https://img.shields.io/github/stars/ZCG-Coder/Steppable) This project tries to make a Computer Algebra System (CAS) out of scratch, and without any external libraries. @@ -110,7 +114,7 @@ The different calculators can be run by specifying the necessary arguments, and # 9 . 6 7 7 # Add 4 and 5.677, but do not show the steps -./add 4 5.677 -steps +./add 4 5.677 -steps:0 # Output: # 9.677 ``` @@ -154,10 +158,10 @@ To add a new feature, `a`: > **Note**: > Only the above-mentioned three files will be added to CMake. 2. Make sure to document the code. Please use Doxygen to document this project. -3. Add an entry to `src/CMakeLists.txt` +3. Add an entry to `CMakeLists.txt` at the root of the repository. ```cmake - SET(COMPONENTS + set(COMPONENTS add ... a # Replace with yours