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

23 lines
543 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.3.4
with:
persist-credentials: false
submodules: true
2021-12-19 14:32:28 +00:00
- uses: cachix/install-nix-action@v16
2021-01-25 18:26:27 +00:00
with:
nix_path: nixpkgs=channel:nixos-unstable
2021-12-19 14:32:28 +00:00
- uses: cachix/cachix-action@v10
2021-01-27 09:08:33 +00:00
with:
name: hs-dear-imgui
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
2021-12-19 14:32:28 +00:00
- run: nix-build --version
2021-01-27 09:08:33 +00:00
- run: nix-build -A hsPkgs.dear-imgui.components.exes