Remove CI + Fix
This commit is contained in:
27
.github/workflows/buid.yml
vendored
27
.github/workflows/buid.yml
vendored
@@ -1,27 +0,0 @@
|
|||||||
name: Build C Program
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
pull_request:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Set up build environment
|
|
||||||
run: sudo apt-get update && sudo apt-get install -y build-essential
|
|
||||||
|
|
||||||
- name: Build with make
|
|
||||||
run: make
|
|
||||||
|
|
||||||
- name: Upload build artifact
|
|
||||||
uses: actions/upload-artifact@v3
|
|
||||||
with:
|
|
||||||
name: build-artifact
|
|
||||||
path: .
|
|
||||||
@@ -142,7 +142,7 @@ int main(int argc, char **argv) {
|
|||||||
char *line = read_stdin_line();
|
char *line = read_stdin_line();
|
||||||
if (!line) {
|
if (!line) {
|
||||||
fprintf(stderr, "No input read.\n");
|
fprintf(stderr, "No input read.\n");
|
||||||
return 1;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
LogMessage msg = parse_log_line(line);
|
LogMessage msg = parse_log_line(line);
|
||||||
|
|||||||
Reference in New Issue
Block a user