mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2024-11-12 21:42:51 +01:00
add test on github
This commit is contained in:
parent
5f77718d75
commit
c4086f5719
4
.github/workflows/build_all.yml
vendored
4
.github/workflows/build_all.yml
vendored
@ -74,6 +74,10 @@ jobs:
|
|||||||
working-directory: ${{runner.workspace}}/build
|
working-directory: ${{runner.workspace}}/build
|
||||||
run: cmake --build . --config Debug --verbose
|
run: cmake --build . --config Debug --verbose
|
||||||
|
|
||||||
|
- name: Run tests
|
||||||
|
working-directory: ${{runner.workspace}}/build
|
||||||
|
run: ./Debug/min_broken.exe
|
||||||
|
|
||||||
- name: Create Archive
|
- name: Create Archive
|
||||||
working-directory: ${{runner.workspace}}
|
working-directory: ${{runner.workspace}}
|
||||||
run: '&($Env:GITHUB_WORKSPACE + "/make_windows_package.ps1") ./build ($Env:GITHUB_WORKSPACE + "/root")'
|
run: '&($Env:GITHUB_WORKSPACE + "/make_windows_package.ps1") ./build ($Env:GITHUB_WORKSPACE + "/root")'
|
||||||
|
@ -1,7 +1,12 @@
|
|||||||
|
#include <stdio.h>
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
|
|
||||||
int main() {
|
|
||||||
std::recursive_mutex mtx;
|
std::recursive_mutex mtx;
|
||||||
|
|
||||||
|
int main() {
|
||||||
std::lock_guard<std::recursive_mutex> lck(mtx);
|
std::lock_guard<std::recursive_mutex> lck(mtx);
|
||||||
|
|
||||||
|
printf("Works just fine!\n");
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user