Skip to content

Update compile.yml

Update compile.yml #6

Workflow file for this run

name: Compile C Code
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up build environment
run: |
sudo apt-get update
sudo apt-get -y install build-essential
- name: Compile C code
run: gcc -o src/gitready_pre src/gitready.c
- name: Run compiled code
run: ./src/gitready_pre