Skip to content

Commit ebd0d91

Browse files
authored
Merge pull request #146 from yatima-inc/sb/core-io
Add `no-std` Read/Write Support
2 parents 9e8a958 + 2e49ef6 commit ebd0d91

File tree

12 files changed

+1391
-39
lines changed

12 files changed

+1391
-39
lines changed

.envrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
use_flake() {
2+
watch_file flake.nix
3+
watch_file flake.lock
4+
eval "$(nix print-dev-env)"
5+
}
6+
use flake

.github/workflows/nix.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: "Nix flakes CI"
2+
on:
3+
pull_request:
4+
push:
5+
branches:
6+
- main
7+
- master
8+
jobs:
9+
tests:
10+
runs-on: ubuntu-latest
11+
env:
12+
NIX_BUILD_ARGS: -v --print-build-logs --fallback --show-trace
13+
steps:
14+
- uses: actions/[email protected]
15+
- uses: cachix/install-nix-action@v13
16+
with:
17+
install_url: https://nixos-nix-install-tests.cachix.org/serve/i6laym9jw3wg9mw6ncyrk6gjx4l34vvx/install
18+
install_options: '--tarball-url-prefix https://nixos-nix-install-tests.cachix.org/serve'
19+
extra_nix_config: |
20+
experimental-features = nix-command flakes
21+
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
22+
- uses: cachix/cachix-action@v10
23+
with:
24+
name: yatima
25+
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
26+
- name: Nix build
27+
run: nix build $NIX_BUILD_ARGS
28+
- name: Nix check
29+
run: nix flake check $NIX_BUILD_ARGS
30+
- name: Nix shell
31+
run: nix shell $NIX_BUILD_ARGS --command echo OK

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
target
2-
Cargo.lock
32
*.bk
43
.idea

0 commit comments

Comments
 (0)