Skip to content

Commit

Permalink
Commit build-i686-linux action (#932)
Browse files Browse the repository at this point in the history
Oops... Dunno how I forgot this.
  • Loading branch information
cole-h authored Apr 15, 2024
1 parent 60458ab commit fde9487
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/build-i686-linux.yml
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 }}

0 comments on commit fde9487

Please sign in to comment.