Skip to content

Commit

Permalink
feat(ci): add portable workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
uulm-janbaudisch committed May 19, 2024
1 parent f2e90ad commit f856f05
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/Portable.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Portable

on:
- push

jobs:
Build:
strategy:
fail-fast: false
matrix:
target:
- triple: x86_64-unknown-linux-gnu
runner: ubuntu-latest
runs-on: ${{ matrix.target.runner }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Nix
uses: DeterminateSystems/nix-installer-action@v10
- name: Cache
uses: DeterminateSystems/magic-nix-cache-action@v4
- name: Bundle
run: nix bundle --bundler github:DavHau/nix-portable -o bundle .#d4
- name: Upload
uses: actions/upload-artifact@v4
with:
name: d4-${{ matrix.target.triple }}-bundled
path: bundle/bin/d4

0 comments on commit f856f05

Please sign in to comment.