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

Set up a basic CI that would simply build the library #2

Open
Russoul opened this issue Sep 1, 2023 · 2 comments
Open

Set up a basic CI that would simply build the library #2

Russoul opened this issue Sep 1, 2023 · 2 comments

Comments

@Russoul
Copy link
Member

Russoul commented Sep 1, 2023

No description provided.

@phijor
Copy link
Contributor

phijor commented Jan 17, 2024

Since this project already has a Nix flake, a simple CI could be set up using Determinate Systems' Magic Nix Cache Action:

name: Build

on:
  push:
  pull_request:

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: DeterminateSystems/nix-installer-action@main
      - uses: DeterminateSystems/magic-nix-cache-action@main
      - uses: DeterminateSystems/flake-checker-action@main
      - name: Build LSP-lib with Nix
        run: nix build .

@Russoul
Copy link
Member Author

Russoul commented Jan 18, 2024

Thanks. I know close to nothing how Nix works, so I'd rather have some else do the CI with Nix :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants