Added a Github Actions pipeline for Windows (#5)

This commit is contained in:
Dr. Patrick Urbanke (劉自成)
2025-05-22 08:44:59 +02:00
committed by GitHub
parent c88d70dd85
commit ea7a1fe8e0
6 changed files with 87 additions and 2 deletions

View File

@@ -1,3 +1,5 @@
#ifndef SQLGEN_BUILD_DRY_TESTS_ONLY
#include <gtest/gtest.h>
#include <rfl.hpp>
@@ -47,3 +49,5 @@ TEST(postgres, test_insert_and_read) {
}
} // namespace test_insert_and_read
#endif

View File

@@ -1,3 +1,5 @@
#ifndef SQLGEN_BUILD_DRY_TESTS_ONLY
#include <gtest/gtest.h>
#include <rfl.hpp>
@@ -60,3 +62,5 @@ TEST(postgres, test_insert_and_read_two_tables) {
}
} // namespace test_insert_and_read_two_tables
#endif

View File

@@ -1,3 +1,5 @@
#ifndef SQLGEN_BUILD_DRY_TESTS_ONLY
#include <gtest/gtest.h>
#include <rfl.hpp>
@@ -6,7 +8,7 @@
#include <sqlgen/postgres.hpp>
#include <vector>
namespace test_update {
namespace test_transaction {
struct Person {
sqlgen::PrimaryKey<uint32_t> id;
@@ -59,4 +61,6 @@ TEST(postgres, test_transaction) {
EXPECT_EQ(rfl::json::write(people2), expected);
}
} // namespace test_update
} // namespace test_transaction
#endif