File tree 4 files changed +1302
-9
lines changed
4 files changed +1302
-9
lines changed Original file line number Diff line number Diff line change 6
6
/parts
7
7
/prime
8
8
.gitignore.swp
9
- Cargo.lock
9
+
10
+
11
+ # needed for nix
12
+ # Cargo.lock
13
+
14
+ # nix result from nix-build
15
+ result
Original file line number Diff line number Diff line change 7
7
- linux
8
8
- windows
9
9
- osx
10
- sudo : false
11
10
script :
12
- - cargo build --verbose
13
11
- cargo test --verbose
14
- notifications :
15
- email :
16
- on_success : never
17
- branches :
18
- only :
19
- - master
12
+ - cargo build --verbose
13
+ jobs :
14
+ include :
15
+ - language : nix
16
+ cache :
17
+ directories :
18
+ - $HOME/nix.store
19
+ script :
20
+ - nix-build
21
+ before_install :
22
+ - sudo mkdir -p /etc/nix
23
+ - echo "substituters = https://cache.nixos.org/ file://$HOME/nix.store" | sudo tee -a /etc/nix/nix.conf > /dev/null
24
+ - echo 'require-sigs = false' | sudo tee -a /etc/nix/nix.conf > /dev/null
25
+ before_cache :
26
+ - mkdir -p $HOME/nix.store
27
+ - nix copy --to file://$HOME/nix.store -f default.nix buildInputs
You can’t perform that action at this time.
0 commit comments