Skip to content

Commit

Permalink
chore: add nix ci action
Browse files Browse the repository at this point in the history
  • Loading branch information
frectonz authored Aug 20, 2024
1 parent 3574515 commit f98b3af
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build SQLite Studio
name: Build SQL Studio

on:
push:
Expand All @@ -11,7 +11,6 @@ on:
jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -33,3 +32,15 @@ jobs:
- name: Build Rust project
run: cargo build --release

build-with-nix:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main

- name: Build Release
run: nix build .

- name: Build Docker Image
run: nix build .#docker

0 comments on commit f98b3af

Please sign in to comment.