Merge pull request #121 from alex-sitnikov/llvm-18.1.0 #39
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
on: [push, pull_request] | |
name: Build | |
jobs: | |
build: | |
name: Build on NixOS | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Set up Nix using channel 'nixpkgs-unstable' | |
uses: cachix/install-nix-action@v13 | |
with: | |
nix_path: nixpkgs=channel:nixpkgs-unstable | |
- name: Build using Nix | |
run: | | |
nix-build --pure && ./result/bin/c2ffi --help && echo OK |