Commit Graph

17 Commits

Author SHA1 Message Date
Michael Bradley, Jr af1584d617 refactor: examples/chat -> examples/client
The example client we're building is more than a "chat" program: it
has (beginnings of) support for wallets and eventually the full range of
capabilities implemented in nim-status.

Rename `examples/chat.nim` to `examples/client.nim` and make a number of
related changes/renamings that help to make it more clear that the example
client is a "client in general", not just a chat client.

Also, put the copied example waku chat2 code under `examples/waku/`.
2021-07-29 15:06:15 -05:00
Michael Bradley, Jr faa16c2078 build: switch from MSYS2 MINGW64 to MSYS2 UCRT64
Gives better compatibility at compile and runtime, and notably better
performance re: e.g. disk IO.
2021-07-18 23:19:39 -05:00
Michael Bradley, Jr dfe472953a ci: remove workaround re: setting RUSTFLAGS env var in Windows
It's no longer necessary owing to changes made yesterday by the MSYS2
maintainers/contributors.
2021-06-30 09:53:21 -05:00
Michael Bradley, Jr 0340fc0ea5 ci: limit to static linking in test workflow in GitHub Actions
Using a full matrix of static/shared linking has been useful in the past for
catching edge cases, but none have been experienced in recent months so limit
to static linking to reduce build and run times in this workflow. The full
matrix can always be activated in a PR branch if it's suspected we're bumping
into an edge case as experienced previously.
2021-06-29 15:12:27 -05:00
Michael Bradley, Jr 9aec834b05 ci: implement workaround re: Rust in MSYS2/MINGW64 on Windows
See: https://github.com/msys2/MINGW-packages/issues/9010

Also remove a previous workaround re: Rust in MSYS2/MINGW64 on Windows that's
no longer necessary.

And cleanup implementation of a workaround re: the `ar` utility on macOS,
i.e. do it the same way using an `if..fi` block.
2021-06-29 13:42:13 -05:00
Michael Bradley, Jr 78ba4759e5 feat: example client 2021-06-28 17:50:19 -04:00
Michael Bradley, Jr 21aebe41be refactor: remove status-go and shim/related modules in nim_status
Also adjust Makefile, GitHub Actions workflow, etc.
2021-03-18 10:36:21 -05:00
Michael Bradley, Jr 519ba09d67 ci: on macOS, make `ar` on the PATH an alias for `llvm-ar`
See: https://github.com/nim-lang/Nim/issues/15589
2021-01-07 14:29:46 -06:00
Michael Bradley, Jr 363857461e ci: revise cache key so that a bump in any submodule will cause a cache miss 2021-01-05 15:43:46 -06:00
Michael Bradley, Jr b429d7057b ci: remove Go version workaround for Windows from GitHub Actions workflow
The workaround is not needed if Go is installed as a package in the msys2
environment.
2021-01-04 10:51:48 -06:00
Michael Bradley, Jr 56343e42f7 build: adjust Makefile, GitHub Actions workflow, and nim_status.nimble 2020-12-20 17:48:55 -06:00
Michael Bradley, Jr ac3c013078 ci: refactor GitHub Actions workflow in same manner as nim-sqlcipher's refactored workflow
See:
* https://github.com/status-im/nim-sqlcipher/pull/12
* https://github.com/status-im/nim-sqlcipher/pull/22

It is now assumed (and effectively required) that builds of nim-status (and
nim-sqlcipher) on Windows will be done in an msys2 environment.
2020-12-16 12:58:36 -06:00
Michael Bradley, Jr 723928be27 ci: on Windows download/use Go v1.14.11 as workaround for known "usability regression" in v1.14.12 2020-11-26 11:49:43 +11:00
Michael Bradley, Jr b88f736a32 feat: integrate nim-sqlcipher 2020-11-18 13:34:24 -06:00
Michael Bradley, Jr 92826e958c test: refactor login test into an asyncTest
The original intention was to use `newFuture` of nim-chronos but mixing use of
futures and `setSignalEventCallback` proved problematic so use a while/sleep
loop instead.
2020-09-15 12:07:38 -05:00
Michael Bradley, Jr 0f10cf59ec ci: use killall for macos/linux background tester tasks
The `killall` command's usage varies by platform, so use the correct options
per platform.
2020-09-04 09:33:45 -05:00
Michael Bradley, Jr b71d69012c ci: run tests via GitHub Actions
Until login tests are refactored, kill the Nim and C tests after they've been
running for 10 minutes.

On Windows, using *Git Bash's* `kill` to stop the backround tester task doesn't
work correctly; instead use Windows built-in `taskkill`.
2020-09-02 15:58:35 -05:00