Skip to content

Commit

Permalink
flake
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinleroy committed Jan 9, 2025
1 parent 6006be8 commit 78aa843
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- uses: DeterminateSystems/flake-checker-action@main

- name: Install aquascope and mdbook-aquascope
run: nix develop --command ci-install
run: nix develop --command ci-build-release

- name: Package artifact
run: tar -czf aquascope-x86_64-unknown-linux-gnu.tar.gz mdbook-aquascope cargo-aquascope aquascope-driver
Expand Down
6 changes: 6 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@
cargo install --path crates/mdbook-aquascope --debug --locked
'';

ci-build-release = pkgs.writeScriptBin "ci-build-release" ''
ci-install && cargo build --release --locked
'';

ci-publish-crates = pkgs.writeScriptBin "ci-publish-crates" ''
cargo build
cargo ws publish --from-git --allow-dirty --yes --token "$1"
Expand Down Expand Up @@ -67,6 +71,7 @@
ci-check
ci-install
ci-publish-crates
ci-build-release
ci-publish-full-pages

llvmPackages_latest.llvm
Expand All @@ -76,6 +81,7 @@
cargo-insta
cargo-make
cargo-watch
cargo-workspaces
rust-analyzer

mdbook
Expand Down

0 comments on commit 78aa843

Please sign in to comment.