dear-imgui.hs/.github/workflows/build.yaml
2021-01-27 09:08:33 +00:00

22 lines
505 B
YAML

name: Build
on: [push, pull_request, release]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
with:
persist-credentials: false
submodules: true
- uses: cachix/install-nix-action@v12
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v8
with:
name: hs-dear-imgui
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix-build -A hsPkgs.dear-imgui.components.exes