-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Build packages for ubuntu and debian automatically * made cache working * removed build_home dir, made cache working, made package naming more clear
- Loading branch information
Showing
14 changed files
with
6,911 additions
and
6,744 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
name: Build .deb packages | ||
|
||
on: | ||
push: | ||
tags: | ||
- "v*" | ||
|
||
jobs: | ||
build_deb_packages: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- distribution: debian | ||
version: 10 | ||
- distribution: debian | ||
version: 11 | ||
- distribution: ubuntu | ||
version: 18.04 | ||
- distribution: ubuntu | ||
version: 20.04 | ||
- distribution: ubuntu | ||
version: 22.04 | ||
|
||
|
||
runs-on: ubuntu-latest | ||
name: Build package for ${{ matrix.distribution }} ${{ matrix.version }} | ||
container: | ||
image: ${{ matrix.distribution }}:${{ matrix.version }} | ||
env: | ||
DEBIAN_FRONTEND: noninteractive | ||
# small hack to make caches work because the cache action lives outside the container | ||
options: --mount type=volume,dst=/__w/znapzend/znapzend/,volume-driver=local,volume-opt=type=none,volume-opt=o=bind,volume-opt=device=${{ github.workspace }} | ||
defaults: | ||
run: | ||
shell: bash | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install OS requirements | ||
run: apt-get update && apt-get -yq install perl unzip autoconf carton debhelper pkg-config | ||
- name: CPAN cache | ||
id: cpan_cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: thirdparty | ||
key: ${{ matrix.distribution }}-cpan-${{ matrix.version }}-${{ hashFiles('cpanfile', '*/cpanfile', 'Makefile.am', '*/Makefile.am') }} | ||
- name: Build package | ||
id: build_package | ||
run: bash build_deb.sh ${{ matrix.distribution }} ${{ matrix.version }} | ||
- name: Release deb files | ||
uses: softprops/action-gh-release@v1 | ||
if: startsWith(github.ref, 'refs/tags/') | ||
with: | ||
files: ${{ github.workspace }}/${{ steps.build_package.outputs.package_name }} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
Oops, something went wrong.
9b6b17c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@check-spelling-bot Report
Unrecognized words, please review:
Previously acknowledged words that are now absent
aix Autotools bashisms CBuilder Cwd cygwin DBD ev Fcntl fh forkcall gh Gregy gz Ip JB JBERGER LEONT Mkbootstrap nf nh oi Pipely qq qw RCAPUTO README rr rw SUBDIRS SZ Ubuntu ve VOS wu wx xargs xf yy ZLSome files were were automatically ignored
These sample patterns would exclude them:
You should consider adding them to:
File matching is via Perl regular expressions.
To check these files, more of their words need to be in the dictionary than not. You can use
patterns.txt
to exclude portions, add items to the dictionary (e.g. by adding them toallow.txt
), or fix typos.To accept these unrecognized words as correct (and remove the previously acknowledged and now absent words), run the following commands
... in a clone of the [email protected]:oetiker/znapzend.git repository
on the
master
branch:9b6b17c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@check-spelling-bot Report
Unrecognized words, please review:
Previously acknowledged words that are now absent
aix Autotools bashisms CBuilder Cwd cygwin DBD ev Fcntl fh forkcall gh Gregy gz Ip JB JBERGER LEONT Mkbootstrap nf nh oi Pipely qq qw RCAPUTO README rr rw SUBDIRS SZ Ubuntu ve VOS wu wx xargs xf yy ZLSome files were were automatically ignored
These sample patterns would exclude them:
You should consider adding them to:
File matching is via Perl regular expressions.
To check these files, more of their words need to be in the dictionary than not. You can use
patterns.txt
to exclude portions, add items to the dictionary (e.g. by adding them toallow.txt
), or fix typos.To accept these unrecognized words as correct (and remove the previously acknowledged and now absent words), run the following commands
... in a clone of the [email protected]:oetiker/znapzend.git repository
on the
release-0.21.2
branch: