Skip to content

Commit 3185bf5

Browse files
authored
Add GitHub actions (#8)
1 parent e5c20de commit 3185bf5

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/build.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Build
2+
on: [push, pull_request, release]
3+
jobs:
4+
build:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/[email protected]
8+
with:
9+
persist-credentials: false
10+
submodules: true
11+
12+
- uses: cachix/install-nix-action@v12
13+
with:
14+
nix_path: nixpkgs=channel:nixos-unstable
15+
16+
- run: nix-build -A hsPkgs.dear-imgui.components.exes --option trusted-public-keys "hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= iohk.cachix.org-1:DpRUyj7h7V830dp/i6Nti+NEO2/nhblbov/8MW7Rqoo= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" --option substituters "https://hydra.iohk.io https://iohk.cachix.org https://cache.nixos.org/"

0 commit comments

Comments
 (0)