csci3251-2022 / project-team-b

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

task4.md #5

Closed loookforanans closed 2 years ago

loookforanans 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
viscory commented 2 years ago

Ill take over this bit

viscory commented 2 years ago

Hey so, I made a few pull requests, one for the _stu individual task, one for task4's c code, and one more for task4's github action. The last PR (for the github action) will fail right now since the code.c file hasn't been updated yet (2nd PR updates it)

loookforanans commented 2 years ago

Confirm. End the issue.