Skip to content

Commit

Permalink
Enable more spacing builds and try vars.nt as release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
AndydeCleyre committed Nov 25, 2023
1 parent 9b7cef4 commit d823d8e
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 5 deletions.
56 changes: 55 additions & 1 deletion .github/workflows/buildpkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,42 @@ 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
- name: build and siphon ttf-iosevka-term-custom-git from build ctnr
run: |
buildah config -u dev --workingdir /home/dev/ttf-iosevka-term-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-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
Expand All @@ -55,9 +91,27 @@ jobs:
printf '%s\n' "${RUNNER_TEMP}/dist/"
ls -lh "${RUNNER_TEMP}/dist/"
- name: copy ttf-iosevka-quasi-proportional-extension-only-custom-git PKGBUILD into build ctnr
run: |
buildah copy --chown dev ctnr pkgs/ttf-iosevka-quasi-proportional-extension-only-custom-git /home/dev/ttf-iosevka-quasi-proportional-extension-only-custom-git
- name: build and siphon ttf-iosevka-quasi-proportional-extension-only-custom-git from build ctnr
run: |
buildah config -u dev --workingdir /home/dev/ttf-iosevka-quasi-proportional-extension-only-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: Release
uses: softprops/action-gh-release@v1
with:
files: ${{ runner.temp }}/dist/*
fail_on_unmatched_files: true
body_path: private-build-plans.toml
body_path: vars.nt
2 changes: 1 addition & 1 deletion templates/buildpkg.yml.wz
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ jobs:
with:
files: ${{ runner.temp }}/dist/*
fail_on_unmatched_files: true
body_path: private-build-plans.toml
body_path: vars.nt
6 changes: 3 additions & 3 deletions vars.nt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
build:
# Uncomment the ones you wish to build
# - ttf-iosevka-custom-git
# - ttf-iosevka-term-custom-git
- ttf-iosevka-custom-git
- ttf-iosevka-term-custom-git
- ttf-iosevka-quasi-proportional-custom-git
# - ttf-iosevka-quasi-proportional-extension-only-custom-git
- ttf-iosevka-quasi-proportional-extension-only-custom-git
# - ttf-iosevka-git
# - ttf-iosevka-fontconfig-mono-custom-git
# - ttf-iosevka-fixed-custom-git
Expand Down

0 comments on commit d823d8e

Please sign in to comment.