From b83b58ec414aedf606a6c8d166c765c23f514705 Mon Sep 17 00:00:00 2001 From: Andy Kluger Date: Sun, 26 Nov 2023 23:06:43 -0500 Subject: [PATCH] Reenable qp and custom builds --- .github/workflows/buildpkg.yml | 36 ++++++++++++++++++++++++++++++++++ vars.nt | 4 ++-- 2 files changed, 38 insertions(+), 2 deletions(-) diff --git a/.github/workflows/buildpkg.yml b/.github/workflows/buildpkg.yml index e31f220..1317675 100644 --- a/.github/workflows/buildpkg.yml +++ b/.github/workflows/buildpkg.yml @@ -37,6 +37,24 @@ jobs: - name: render PKGBUILDs run: ./mk/pkgbuilds.sh + - name: copy ttf-iosevka-custom-git PKGBUILD into build ctnr + run: | + buildah copy --chown dev ctnr pkgs/ttf-iosevka-custom-git /home/dev/ttf-iosevka-custom-git + + - name: build and siphon ttf-iosevka-custom-git from build ctnr + run: | + buildah config -u dev --workingdir /home/dev/ttf-iosevka-custom-git ctnr + buildah run ctnr makepkg --noconfirm -s + + buildah run ctnr ls -lh + + pkg="$(buildah run ctnr sh -c "printf '%s\n' *.pkg.*")" + mkdir -p "${RUNNER_TEMP}/dist" + buildah run ctnr cat "$pkg" >"${RUNNER_TEMP}/dist/${pkg}" + + printf '%s\n' "${RUNNER_TEMP}/dist/" + ls -lh "${RUNNER_TEMP}/dist/" + - name: copy ttf-iosevka-term-custom-git PKGBUILD into build ctnr run: | buildah copy --chown dev ctnr pkgs/ttf-iosevka-term-custom-git /home/dev/ttf-iosevka-term-custom-git @@ -55,6 +73,24 @@ jobs: printf '%s\n' "${RUNNER_TEMP}/dist/" ls -lh "${RUNNER_TEMP}/dist/" + - name: copy ttf-iosevka-quasi-proportional-custom-git PKGBUILD into build ctnr + run: | + buildah copy --chown dev ctnr pkgs/ttf-iosevka-quasi-proportional-custom-git /home/dev/ttf-iosevka-quasi-proportional-custom-git + + - name: build and siphon ttf-iosevka-quasi-proportional-custom-git from build ctnr + run: | + buildah config -u dev --workingdir /home/dev/ttf-iosevka-quasi-proportional-custom-git ctnr + buildah run ctnr makepkg --noconfirm -s + + buildah run ctnr ls -lh + + pkg="$(buildah run ctnr sh -c "printf '%s\n' *.pkg.*")" + mkdir -p "${RUNNER_TEMP}/dist" + buildah run ctnr cat "$pkg" >"${RUNNER_TEMP}/dist/${pkg}" + + printf '%s\n' "${RUNNER_TEMP}/dist/" + ls -lh "${RUNNER_TEMP}/dist/" + - name: make release notes run: | printf '%s\n' '`vars.nt`:' '```yaml' >release.md diff --git a/vars.nt b/vars.nt index b808ca2..e4c2b50 100644 --- a/vars.nt +++ b/vars.nt @@ -1,8 +1,8 @@ build: # Uncomment the ones you wish to build - # - ttf-iosevka-custom-git + - ttf-iosevka-custom-git - ttf-iosevka-term-custom-git - # - ttf-iosevka-quasi-proportional-custom-git + - ttf-iosevka-quasi-proportional-custom-git # - ttf-iosevka-git # - ttf-iosevka-fixed-custom-git # - ttf-iosevka-fontconfig-mono-custom-git