ci: fix compat with win32 which defines VOID, CONST, etc. as macros #372
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Nix build | |
on: [push,pull_request] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
nix: | |
name: Nix | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
submodules: 'recursive' | |
- name: Install nix | |
uses: cachix/install-nix-action@v24 | |
- name: Build | |
run: | | |
nix-channel --add https://nixos.org/channels/nixpkgs-unstable | |
nix-channel --update | |
nix-build -E 'with import <nixpkgs> {}; qt6.callPackage ./ci/nix.build.nix {}' |