This repository has been archived by the owner on Nov 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from DeterminateSystems/general-updates
- Loading branch information
Showing
11 changed files
with
315 additions
and
604 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Push dev shell to FlakeHub Cache | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
|
||
jobs: | ||
push-dev-shell-to-flakehub-cache: | ||
env: | ||
ACTIONS_STEP_DEBUG: true | ||
runs-on: ${{ matrix.systems.runner }} | ||
permissions: | ||
id-token: "write" | ||
contents: "read" | ||
strategy: | ||
matrix: | ||
systems: | ||
- nix-system: "aarch64-darwin" | ||
runner: "macos-latest-xlarge" | ||
- nix-system: "x86_64-darwin" | ||
runner: "macos-12" | ||
- nix-system: "x86_64-linux" | ||
runner: "ubuntu-22.04" | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: DeterminateSystems/nix-installer-action@main | ||
- uses: DeterminateSystems/magic-nix-cache-action@main | ||
with: | ||
use-flakehub: true | ||
- name: Build dev shell for ${{ matrix.systems.nix-system }} on ${{ matrix.systems.runner }} | ||
run: nix build .#devShells.${{ matrix.systems.nix-system }}.default |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: "Publish every Git push to main to FlakeHub" | ||
|
||
on: | ||
push: | ||
branches: | ||
- "main" | ||
|
||
jobs: | ||
flakehub-publish: | ||
runs-on: "ubuntu-22.04" | ||
permissions: | ||
id-token: "write" | ||
contents: "read" | ||
steps: | ||
- uses: "actions/checkout@v4" | ||
- uses: "DeterminateSystems/nix-installer-action@v10" | ||
- uses: "DeterminateSystems/flakehub-push@v3" | ||
with: | ||
name: "DeterminateSystems/nix-wasm-example" | ||
rolling: true | ||
visibility: "public" |
Oops, something went wrong.