Skip to content

Commit

Permalink
Bump actions/checkout to V4 and updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ZCG-coder authored Mar 11, 2024
1 parent 0ae91eb commit 7688e82
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,14 @@ 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
cpp_compiler: cl
- 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++
Expand All @@ -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.
Expand Down Expand Up @@ -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 }}

12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down Expand Up @@ -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
```
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 7688e82

Please sign in to comment.