csci3251-2022 / project-team-f

project-team-f created by GitHub Classroom
0 stars 0 forks source link

Task 4: Write C code #5

Closed maer1n closed 2 years ago

maer1n commented 2 years ago

Task 4: Write C code

Please start to remember what you have done for your C beginning classes. Or learn it anew!

As the Development Manager, your tasks include:

  1. In code.c, write a piece of very simple (yet correct) C code (e.g. Hello World, simple for loop, simple if...then...else, etc.)
  2. Set up a GitHub Action with a workflow (e.g., C/C++ with Make) to run the C code, referencing here: https://help.github.com/en/actions/building-and-testing-code-with-continuous-integration/setting-up-continuous-integration-using-github-actions
  3. Since you didn't prepare anything for configure or make, you should only use this line for run:, and remove irrelevant lines
    • gcc code.c -o code; ./code
  4. This action will deploy your code every time there is a push (merge action) into the main branch
    • It usually takes a while to finish, but should be just a short wait if your code is simple
Continuous Integration in GitHub is a big topic. To know more, try this yourself: https://lab.github.com/githubtraining/github-actions:-continuous-integration
maer1n commented 2 years ago

If you have completed your task. Please write a comment down below to let me know. Thank you.