mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2024-11-10 04:37:37 +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
|
||||
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>
|
||||
|
||||
int main() {
|
||||
std::recursive_mutex mtx;
|
||||
|
||||
int main() {
|
||||
std::lock_guard<std::recursive_mutex> lck(mtx);
|
||||
|
||||
printf("Works just fine!\n");
|
||||
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue
Block a user