csci3251-2023 / project-team-o

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

Task 4: Write C code #6

Open EzioWong0513 opened 1 year ago

EzioWong0513 commented 1 year 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://docs.github.com/en/actions/using-workflows/using-starter-workflows
  3. Since you didn't prepare anything for configure or make, you should keep only one pair of name and run. The name doesn't matter, and only use this line for run::
    • 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
  5. You can check out the progress under the Actions tab
Continuous Integration in GitHub is a big topic. To know more, try it yourself at https://github.com/skills/hello-github-actions and https://github.com/skills/test-with-actions
wahtheboi commented 1 year ago

I work on this