From f8831550861f6c2e5e93d68d098d9945b19cf14c Mon Sep 17 00:00:00 2001 From: Mitya Selivanov <0x7fffff@guattari.ru> Date: Mon, 8 Aug 2022 03:04:10 +0400 Subject: test --- .github/workflows/build_and_test.yml | 2 +- source/test/unittests/test_duration.test.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 2cf8062..50aad28 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -16,7 +16,7 @@ jobs: build: strategy: matrix: - os: [ ubuntu-latest, macos-latest, windows-latest ] + os: [ ubuntu-latest, macos-latest, windows-2019 ] runs-on: ${{ matrix.os }} diff --git a/source/test/unittests/test_duration.test.c b/source/test/unittests/test_duration.test.c index ac1c7b6..58faf4a 100644 --- a/source/test/unittests/test_duration.test.c +++ b/source/test/unittests/test_duration.test.c @@ -2,7 +2,7 @@ #include "../../kit_test/test.h" #ifdef _WIN32 -# include +__declspec(dllimport) void __stdcall Sleep(unsigned long timeout); static void kit_sleep(int ms) { Sleep(ms); } -- cgit v1.2.3