diff --git a/.github/workflows/validate.yaml b/.github/workflows/validate.yaml index 772ff98..3137e9a 100644 --- a/.github/workflows/validate.yaml +++ b/.github/workflows/validate.yaml @@ -9,6 +9,7 @@ on: - dev - $default-branch jobs: + # TODO: add unit test job here compile-and-lint: runs-on: ubuntu-latest container: @@ -21,3 +22,4 @@ jobs: steps: - uses: actions/checkout@latest - run: make compile ARCH=${{matrix.arch}} + # TODO: add linting checking here diff --git a/makefile b/makefile index 71d8f78..180ab76 100644 --- a/makefile +++ b/makefile @@ -6,6 +6,7 @@ # - git bash (windows) NAME := mcaselector-lite +# TODO: use cargo instead of rustc, as then the Cargo.toml file is actually useful (and will help with linting) RUSTC := rustc # C compiler options @@ -65,6 +66,7 @@ run: compile compile: compile_commands.json $(DIR) $(TARGET) clean: rm -rf bin/ obj/ compile_commands.json +# TODO: write a structure for the unit tests in this # create the binary (linking step) $(TARGET): $(C_OBJ) $(RS_OBJ)