Skip to content

Update compile-code.yml #10

Update compile-code.yml

Update compile-code.yml #10

Workflow file for this run

name: compile code
on: [push, pull_request]
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: setup gcc
uses: egor-tensin/setup-gcc@v1
with:
version: latest
platform: x64
- name: build1
run: cc -Wall -Wextra -Werror -pedantic sample1.c
- name: build2
run: cc -Wall -Wextra -Werror -pedantic sample2.c