diff --git a/.github/workflows/Portable.yaml b/.github/workflows/Portable.yaml new file mode 100644 index 00000000..a00ed4e3 --- /dev/null +++ b/.github/workflows/Portable.yaml @@ -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