dear-imgui.hs/.github/workflows/build.yaml

23 lines
537 B
YAML
Raw Normal View History

2021-01-25 18:26:27 +00:00
name: Build
on: [push, pull_request, release]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.4.0
2021-01-25 18:26:27 +00:00
with:
persist-credentials: false
submodules: true
- uses: cachix/install-nix-action@v20
2021-01-25 18:26:27 +00:00
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v12
2021-01-27 09:08:33 +00:00
with:
name: hs-dear-imgui
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix-build --version
2021-01-27 09:08:33 +00:00
- run: nix-build -A hsPkgs.dear-imgui.components.exes