Skip to content

Commit

Permalink
Reenable qp and custom builds
Browse files Browse the repository at this point in the history
  • Loading branch information
AndydeCleyre committed Nov 27, 2023
1 parent c444e18 commit b83b58e
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 2 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/buildpkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions vars.nt
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit b83b58e

Please sign in to comment.