Skip to content
Open

Test #61

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
12 changes: 12 additions & 0 deletions src/test_exit.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

#include <stdlib.h>

void test_func() {
exit(EXIT_FAILURE);

}

int main()
{
test_func();
}
Loading