-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Commit build-i686-linux action (#932)
Oops... Dunno how I forgot this.
- Loading branch information
Showing
1 changed file
with
29 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Build i686 Linux (static) | ||
|
||
on: | ||
workflow_call: | ||
inputs: | ||
cache-key: | ||
type: string | ||
required: false | ||
default: i686-linux-artifacts-${{ github.sha }} | ||
|
||
jobs: | ||
build-i686-linux: | ||
name: Build i686 Linux (static) | ||
runs-on: UbuntuLatest32Cores128G | ||
concurrency: ${{ inputs.cache-key }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install Nix | ||
uses: DeterminateSystems/nix-installer-action@main | ||
- uses: DeterminateSystems/magic-nix-cache-action@main | ||
- name: Build the installer | ||
run: | | ||
nix build .#packages.i686-linux.nix-installer-static -L | ||
cp result/bin/nix-installer . | ||
- name: Create GitHub cache from build artifacts | ||
uses: actions/cache/save@v3 | ||
with: | ||
path: nix-installer | ||
key: ${{ inputs.cache-key }} |