Commit graph

85 commits

Author SHA1 Message Date
Tobie Morgan Hitchcock
407ff2c96d Revert GitHub Actions environment changes
Reverting GitHub Actions changes made in 56571765 and b2545c08

Closes #1752
2023-03-31 20:00:21 +01:00
Salvador Girones Gil
b2545c087a
Fix the GitHub Actions nightly build and release (#1745) 2023-03-30 21:14:06 +01:00
Rushmore Mushambi
3e80aa9914
Implement to_value for sql::Value (#1659)
`sql::Value` is an integral part of `surrealdb`. It's the internal type used by our storage layer. Because of this, we do a lot of converting between this type and native Rust types. Currently this conversion is done through `JSON` using the `serde_json` crate because we do not have our own custom data format implementation. This works because `SQL` is a superset of `JSON`.  This, however, means that this conversion is lossy and can cause surprises in some cases. For example expecting record IDs to be deserialized into a `String` instead of its corresponding Rust native type.

This change implements a custom data format around `sql::Value` and introduces a `to_value` function that facilitates that conversion.
2023-03-30 11:41:44 +01:00
Salvador Girones Gil
565717659a
Add functionality for open telemetry tracing (#1727) 2023-03-29 19:16:18 +01:00
Rushmore Mushambi
6ff82d5b5f
Upgrade install-nix-action (#1692) 2023-03-08 10:41:34 +00:00
Rushmore Mushambi
312e89a5a9
Fix release builds (#1616) 2023-01-29 12:35:47 +00:00
Rushmore Mushambi
538a4a8100
Disable caching cargo assets (#1582) 2023-01-07 08:03:25 +00:00
Tobie Morgan Hitchcock
5d4cb3bbbf Fix continuous integration tests and build 2023-01-02 09:10:04 +00:00
Tobie Morgan Hitchcock
4ffeefb537 Simplify continuous integration workflows 2023-01-01 12:24:00 +00:00
Rushmore Mushambi
c2dce39f91
Integrate client library into surrealdb crate (#1514) 2022-12-30 08:23:19 +00:00
Rushmore Mushambi
90bfbfd654
Fix more CI warnings (#1554)
* Switch `aws-actions/configure-aws-credentials` to `v1-node16`

* Pin `macOS` to v11

`macos-latest` will soon point to `macos-12` and that will bring
GCC 11 which would break the nightly and release builds again.
2022-12-27 12:55:00 +00:00
Rushmore Mushambi
b64b6b1c8c
Upgrade Github Actions versions (#1551) 2022-12-26 14:14:05 +00:00
Rushmore Mushambi
34bfb67ab4
Pin Ubuntu to 20.04 to fix nightly builds (#1539) 2022-12-21 11:42:43 +00:00
Yt
407df0ebc3
Fix Darwin build on NixOS (#1521) 2022-12-17 15:08:07 +00:00
Rushmore Mushambi
9d359b9596
Test the library with --no-default-features (#1511) 2022-12-08 16:31:47 +00:00
Rushmore Mushambi
0467b7f04a
Add NixOS build and simplify building from source (#100) 2022-10-04 17:32:44 +01:00
Tobie Morgan Hitchcock
5313d0cfab Update workflow name 2022-09-22 15:07:37 +01:00
Tobie Morgan Hitchcock
252e7d2b29 Add general and nightly release builds 2022-09-22 14:56:36 +01:00
Tobie Morgan Hitchcock
9dabae1887 Ensure Windows build requires no dynamic dependencies 2022-09-01 15:05:55 +01:00
Tobie Morgan Hitchcock
32cacb5595 Don’t add FoundationDB feature to x86_64-linux build 2022-08-29 19:38:20 +01:00
Tobie Morgan Hitchcock
0bedaec6bb Ensure RocksDB storage builds correctly on aarch64-linux 2022-08-29 02:48:09 +01:00
Tobie Morgan Hitchcock
6cab509f62 Add Windows build 2022-08-29 02:48:09 +01:00
Tobie Morgan Hitchcock
72652d1bf7 Add FoundationDB storage feature for x86_64-linux build 2022-08-29 02:48:09 +01:00
Tobie Morgan Hitchcock
08c76b5abd Install FoundationDB in continuous integration environment 2022-08-29 02:48:09 +01:00
Tobie Morgan Hitchcock
21fd5b8868 Enable separation and selection of features when building 2022-08-26 22:41:41 +01:00
Tobie Morgan Hitchcock
cc36c9c616 Ensure continuous integration config parses correctly 2022-08-13 01:42:07 +01:00
Tobie Morgan Hitchcock
160fafc84a Add initial support for Windows build in continuous integration 2022-08-12 16:31:17 +01:00
Tobie Morgan Hitchcock
8c1d52dc05 Output tooling versions in continuous integration 2022-08-12 16:29:30 +01:00
Tobie Morgan Hitchcock
86a2de8ae8 Simplify continuous integration configuration 2022-08-12 16:24:31 +01:00
Tobie Morgan Hitchcock
92fe3da531 Ensure Docker container starts and runs successfully
Closes #7
2022-07-24 01:15:26 +01:00
Tobie Morgan Hitchcock
10bc3b2ddd Esure release assets are distributed after version is set 2022-07-18 18:55:53 +01:00
Tobie Morgan Hitchcock
51b4ab6ee5 Ensure all download regions are synced correctly 2022-07-17 11:07:50 +01:00
Tobie Morgan Hitchcock
38f560c213 Add deployment functionality to continuous integration script 2022-07-13 12:38:33 +01:00
Tobie Morgan Hitchcock
e405f66e12 Simplify continuous integration script 2022-07-13 10:28:08 +01:00
Tobie Morgan Hitchcock
ceda6c4542 Add initial Github continuous integration workflow 2022-03-05 14:50:18 +00:00