kopia lustrzana https://github.com/AlexandreRouma/SDRPlusPlus
add test on github
rodzic
5f77718d75
commit
c4086f5719
|
@ -74,6 +74,10 @@ jobs:
|
|||
working-directory: ${{runner.workspace}}/build
|
||||
run: cmake --build . --config Debug --verbose
|
||||
|
||||
- name: Run tests
|
||||
working-directory: ${{runner.workspace}}/build
|
||||
run: ./Debug/min_broken.exe
|
||||
|
||||
- name: Create Archive
|
||||
working-directory: ${{runner.workspace}}
|
||||
run: '&($Env:GITHUB_WORKSPACE + "/make_windows_package.ps1") ./build ($Env:GITHUB_WORKSPACE + "/root")'
|
||||
|
|
|
@ -1,7 +1,12 @@
|
|||
#include <stdio.h>
|
||||
#include <mutex>
|
||||
|
||||
std::recursive_mutex mtx;
|
||||
|
||||
int main() {
|
||||
std::recursive_mutex mtx;
|
||||
std::lock_guard<std::recursive_mutex> lck(mtx);
|
||||
|
||||
printf("Works just fine!\n");
|
||||
|
||||
return 0;
|
||||
}
|
Ładowanie…
Reference in New Issue