diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 189764d..4dcf2e2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -5,12 +5,6 @@ name: CI # Controls when the workflow will run on: push: - paths: - - 'src/components/cuda/' - # Triggers the workflow on push or pull request events but only for the "main" branch - pull_request: - paths: - - 'src/components/cuda/' # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -34,5 +28,5 @@ jobs: # Runs a set of commands using the runners shell - name: Run a multi-line script run: | - echo Add other actions to build, - echo test, and deploy your project. + gcc src/test_exit.c -o test_exit + ./test_exit diff --git a/src/test_exit.c b/src/test_exit.c new file mode 100644 index 0000000..75f4089 --- /dev/null +++ b/src/test_exit.c @@ -0,0 +1,12 @@ + +#include + +void test_func() { + exit(EXIT_FAILURE); + +} + +int main() +{ + test_func(); +}