mirror of
https://github.com/soywod/himalaya.git
synced 2024-09-06 10:51:12 +00:00
add nix build github workflow
This commit is contained in:
parent
50607e3be2
commit
2922ed5968
22
.github/workflows/nix-build.yaml
vendored
Normal file
22
.github/workflows/nix-build.yaml
vendored
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
name: nix-build
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
nix-build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2.3.4
|
||||||
|
- uses: cachix/install-nix-action@v13
|
||||||
|
with:
|
||||||
|
install_url: https://nixos-nix-install-tests.cachix.org/serve/lb41az54kzk6j12p81br4bczary7m145/install
|
||||||
|
install_options: '--tarball-url-prefix https://nixos-nix-install-tests.cachix.org/serve'
|
||||||
|
extra_nix_config: |
|
||||||
|
experimental-features = nix-command flakes
|
||||||
|
- run: nix develop -c rustc --version
|
||||||
|
- run: nix run . -- --version
|
||||||
|
- run: nix-build
|
1
.github/workflows/tests.yaml
vendored
1
.github/workflows/tests.yaml
vendored
|
@ -1,6 +1,7 @@
|
||||||
name: tests
|
name: tests
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
pull_request:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
|
Loading…
Reference in a new issue