Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support ghc 9.2 and recent nixpkgs #108

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-20.04
strategy:
matrix:
ghc:
- ghc884
- ghc923
steps:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v12
Expand All @@ -13,6 +18,6 @@ jobs:
name: gi-gtk-declarative
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
- name: 'Build and Test Libraries and Examples'
run: nix-build -j2 --arg doCheck true
run: nix-build -j2 --arg compiler \"${{ matrix.ghc }}\" --arg doCheck true
- name: 'Build Docs'
run: nix-shell -j2 --run 'cd docs && mkdocs build'
run: nix-shell -j2 --arg compiler \"${{ matrix.ghc }}\" --run 'cd docs && mkdocs build'
2 changes: 1 addition & 1 deletion default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ pkgs ? import ./nixpkgs.nix, compiler ? "ghc883", doBenchmark ? false, doCheck ? false }:
{ pkgs ? import ./nixpkgs.nix, compiler ? "ghc884", doBenchmark ? false, doCheck ? false }:
rec {
docs = import ./docs/requirements.nix { inherit pkgs; };
gi-gtk-declarative = (import ./gi-gtk-declarative { inherit compiler doBenchmark doCheck pkgs; }).gi-gtk-declarative;
Expand Down
Loading