1
0
Fork 0
mirror of https://codeberg.org/icewind/haze.git synced 2026-06-03 17:14:08 +02:00

flake reorg

This commit is contained in:
Robin Appelman 2025-02-19 16:24:13 +01:00
commit c28a81a661
9 changed files with 84 additions and 164 deletions

View file

@ -13,7 +13,7 @@ jobs:
with:
name: ci
instance: https://cache.icewind.me
authToken: '${{ secrets.ATTIC_TOKEN }}'
authToken: "${{ secrets.ATTIC_TOKEN }}"
- run: nix build .#check
clippy:
@ -26,7 +26,7 @@ jobs:
with:
name: ci
instance: https://cache.icewind.me
authToken: '${{ secrets.ATTIC_TOKEN }}'
authToken: "${{ secrets.ATTIC_TOKEN }}"
- run: nix build .#clippy
test:
@ -39,7 +39,7 @@ jobs:
with:
name: ci
instance: https://cache.icewind.me
authToken: '${{ secrets.ATTIC_TOKEN }}'
authToken: "${{ secrets.ATTIC_TOKEN }}"
- run: nix build .#test
matrix:
@ -65,9 +65,9 @@ jobs:
with:
name: ci
instance: https://cache.icewind.me
authToken: '${{ secrets.ATTIC_TOKEN }}'
authToken: "${{ secrets.ATTIC_TOKEN }}"
- run: nix build .#${{ matrix.target }}
- uses: actions/upload-artifact@v4
with:
name: haze-${{ matrix.target }}
path: result/bin/*
path: result/bin/*

View file

@ -2,10 +2,10 @@ name: Build haze images
on:
push:
branches: ['main']
branches: ["main"]
paths:
- '.github/**'
- 'images/**'
- ".github/**"
- "images/**"
permissions:
contents: read
@ -16,8 +16,8 @@ jobs:
strategy:
matrix:
php-version: [ '8.1', '8.2', '8.3' ]
variant: [ '', '-dbg' ]
php-version: ["8.1", "8.2", "8.3"]
variant: ["", "-dbg"]
name: haze-${{ matrix.php-version }}${{ matrix.variant }}

View file

@ -27,7 +27,7 @@ jobs:
with:
name: ci
instance: https://cache.icewind.me
authToken: '${{ secrets.ATTIC_TOKEN }}'
authToken: "${{ secrets.ATTIC_TOKEN }}"
- run: nix build .#${{ matrix.target }}
- name: Upload binary to release
uses: svenstaro/upload-release-action@v2
@ -35,4 +35,4 @@ jobs:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: result/bin/haze
asset_name: haze-${{ matrix.target }}
tag: ${{ github.ref }}
tag: ${{ github.ref }}