Commit Graph

51 Commits

Author SHA1 Message Date
oxalica
ca5616432b {docs,examples,ci}: add flake devSehll examples 2024-06-03 05:05:56 -04:00
oxalica
0bf05d8534
mk-component-set: apply ld-wrapper for rust-ld (#171)
* mk-component-set: apply ld-wrapper for rust-ld

Upstream-shipped `rust-ld` is now used as default linker for some
targets on nightly. It needs ld-wrapper for interopation with libraries
from Nix. Currently `wrapBintools` interface is uneasy for hook use
inside a derivation also containing non-bintools stuff. We hereby copy
part of the implementation and wrap `rust-ld` in-place.

See: https://github.com/rust-lang/rust/issues/71515#issuecomment-2116969162

* Bump minimal supported stable nixpkgs to 23.05

We use `env` attrset in `mkDerivation`.
2024-05-30 07:39:51 +08:00
oxalica
dff5a2a6d4 ci: update dependencies 2024-01-31 01:16:24 +08:00
oxalica
417dc59957 Update cachix/install-nix-action to fix CI
Ref: https://github.com/cachix/install-nix-action/issues/183
2023-06-21 10:34:59 +08:00
oxalica
b79de030a6 Revert "Rework flake and overlay structures" due to downstream breakage
This reverts commit cf102ae729, reversing
changes made to ffe47b9007.

Nix doesn't allow a dependent flake to have relative inputs.
```
error: cannot fetch input 'path:./systems.nix?lastModified=1&narHash=sh
a256-cyfZqnwhPNzdfQnmUUUVK5fon88TSm/0CwgE7Lf%2BLDU%3D' because it uses a relat
ive path
```

Closes #125
2023-04-18 02:35:16 +08:00
oxalica
45adf42f57 ci: test nixos-22.05 with nix-2.8 2023-04-18 00:29:46 +08:00
oxalica
572c94bc38 ci: remove heavy flake checks 2023-04-14 02:19:59 +08:00
oxalica
746b57a0ad Try to fix CI 2023-01-04 22:24:37 +08:00
oxalica
b56371eeeb Drop old channels from CI and fix README 2023-01-04 21:11:06 +08:00
oxalica
4465103960 Use GitHub token for API requests 2023-01-04 19:23:47 +08:00
oxalica
01a89f997e Update CI dependencies 2022-11-09 05:33:35 +08:00
oxalica
32edf1012e Try to fix CI 2022-10-10 18:25:27 +08:00
oxalica
9391a9f23d Try to fix CI 2022-08-10 17:58:50 +08:00
oxalica
a57596f189 Fix CI triggering events 2022-08-10 17:22:14 +08:00
oxalica
aea26482ee Enlarge swap for nix flake check in CI 2022-08-10 17:17:06 +08:00
oxalica
dae73e1960 Fix flake compatibility for Nix < 2.7 and add CI 2022-08-10 16:10:00 +08:00
oxalica
6f312b3010 ci: revert push scripts 2022-08-01 11:05:46 +08:00
oxalica
6e842d2a28 ci: fix update-stable 2022-07-30 19:14:24 +08:00
oxalica
96c069b61f ci: allow manual triggering of update-stable 2022-07-30 18:46:24 +08:00
oxalica
3312a6c90a ci: add actions to update "stable" branch 2022-07-30 16:05:45 +08:00
oxalica
7324bf699d ci: update dependencies and simplify 2022-07-30 15:40:05 +08:00
oxalica
b6190a6b1a Fix build of legacy packages and add CI tests 2022-06-22 10:21:21 +08:00
oxalica
3bc2619665 Specify targeting channels and add CI tests 2022-05-21 15:34:38 +08:00
oxalica
44801306a2 Fix WASI target by getting rid of CC 2022-04-09 03:50:03 +08:00
oxalica
cef8a48c49 Fix CI and add tests for the nightly toolchain 2022-02-19 00:38:50 +08:00
oxalica
d43cbaf40e Temporarily disable wasi tests in CI
`cc` for WASI from nixpkgs is currently broken.
2022-02-19 00:38:50 +08:00
Albert Cervin
804d9026e0
Add MinGW example to CI matrix 2021-12-07 12:38:44 +01:00
oxalica
25688efede
Workaround #54 for CI 2021-12-06 01:35:04 +08:00
oxalica
3c239ec175
Fix CI 2021-11-22 10:19:03 +08:00
oxalica
2447a0a0aa
Test stable rust before push when sync channels 2021-11-22 07:11:03 +08:00
oxalica
43bb4b2125
Add CI for examples 2021-11-22 07:11:03 +08:00
oxalica
853b2c5deb
Refactor workflow scripts
- Update dependencies
- Add hello-world example for testing
- Also test `cargo fmt`
- Don't cache test results anymore
2021-11-22 07:11:02 +08:00
oxalica
49895bee19
Remove pre-aggregated rust package from CI 2021-09-21 19:24:30 +08:00
oxalica
50d8019b4d
Don't fail-fast for GitHub CI 2021-09-12 06:58:01 +08:00
oxalica
6039262d85
Turn on CI on dev branch 2021-06-22 05:57:30 +08:00
oxalica
e83fd9e4a0
Trigger CI after synchronizing channels 2021-06-17 17:56:20 +08:00
oxalica
3ff7a86314
Add CI test for default profile 2021-04-18 18:07:41 +08:00
oxalica
488576377f
Add CI test for clippy 2021-04-18 17:19:34 +08:00
oxalica
7b860e596d
No apt-get 2021-04-05 23:32:17 +08:00
oxalica
f33cab799c
Tweak channel used in CI
Use locked rev for build.
Use nixpkgs-unstable for flake check.
2021-04-05 23:26:00 +08:00
oxalica
9960d69992
Split preparation of nix-shell in CI script 2021-04-05 23:25:01 +08:00
oxalica
922c03a960
Fix CI for empty change 2021-01-16 01:59:10 +08:00
oxalica
7171ad59bb
Relax CI re-fetch check 2021-01-15 21:11:20 +08:00
oxalica
21615b1862
Add check of sync script to CI 2021-01-09 01:11:57 +08:00
oxalica
66959e7295
Add cache for CI build 2021-01-05 23:32:43 +08:00
oxalica
afc5714e06
Move fetch script into sub-directory
Add requirements.txt
2021-01-05 21:14:06 +08:00
oxalica
94c49dba7a
Split sync command for each channel 2021-01-05 03:47:30 +08:00
oxalica
c36576e251
Build latest beta and add compile test in CI 2021-01-05 03:39:14 +08:00
oxalica
10d1db9e32
Tweak CI 2021-01-03 22:34:15 +08:00
oxalica
6db6fab34e
Add CI for check 2021-01-02 21:29:54 +08:00