mirror of
https://github.com/github/codeql-action.git
synced 2025-12-06 07:48:17 +08:00
C++: add deptrace pr-checks
This commit is contained in:
5
tests/cpp-autobuild/src/build.sh
Executable file
5
tests/cpp-autobuild/src/build.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
errno || true # just a command to check its autoinstallation by deptrace
|
||||
|
||||
gcc -o main main.c
|
||||
8
tests/cpp-autobuild/src/main.c
Normal file
8
tests/cpp-autobuild/src/main.c
Normal file
@@ -0,0 +1,8 @@
|
||||
#include "stdio.h"
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
if (1) {
|
||||
printf("Hello, World!\n");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user