This commit is contained in:
parent
ab4ddaf365
commit
1ebdd68873
@ -9,7 +9,7 @@ steps:
|
||||
commands:
|
||||
- apk add build-base ncurses-dev
|
||||
- mkdir build
|
||||
- gcc -o build/main main.c -lncurses
|
||||
- gcc -static -o build/main main.c -lncurses -ltinfo
|
||||
artifacts:
|
||||
- name: compiled
|
||||
path: main
|
||||
|
4
.vscode/tasks.json
vendored
4
.vscode/tasks.json
vendored
@ -13,13 +13,15 @@
|
||||
],
|
||||
"command": "/usr/bin/gcc",
|
||||
"args": [
|
||||
"-static",
|
||||
"-fdiagnostics-color=always",
|
||||
"-g",
|
||||
"${workspaceFolder}/main.c",
|
||||
"-o",
|
||||
//include ncurses
|
||||
"${fileDirname}/${fileBasenameNoExtension}",
|
||||
"-lncurses"
|
||||
"-lncurses",
|
||||
"-ltinfo"
|
||||
],
|
||||
"options": {
|
||||
"cwd": "${fileDirname}"
|
||||
|
BIN
main
BIN
main
Binary file not shown.
Loading…
Reference in New Issue
Block a user