mirror of
https://github.com/Drezil/dear-imgui.hs.git
synced 2024-11-25 10:07:01 +00:00
23 lines
543 B
YAML
23 lines
543 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@v16
|
|
with:
|
|
nix_path: nixpkgs=channel:nixos-unstable
|
|
|
|
- uses: cachix/cachix-action@v10
|
|
with:
|
|
name: hs-dear-imgui
|
|
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
|
|
|
- run: nix-build --version
|
|
- run: nix-build -A hsPkgs.dear-imgui.components.exes
|