Browse Source

autoconf generator in CI (#116)

* Run autoconf for CI archives

* Cleanup CI file, dont use git-archive-all

* Fix a typo

* Run autoreconf

* Remove old .cvsignore file

* Remove old travis CI file

* Remove more .cvsignore files
tags/0.126.0
Filipe Coelho GitHub 5 months ago
parent
commit
97957bb88f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
15 changed files with 40 additions and 164 deletions
  1. +0
    -21
      .cvsignore
  2. +40
    -37
      .github/workflows/build.yml
  3. +0
    -32
      .travis.yml
  4. +0
    -10
      config/.cvsignore
  5. +0
    -3
      config/sysdeps/.cvsignore
  6. +0
    -5
      doc/.cvsignore
  7. +0
    -2
      drivers/.cvsignore
  8. +0
    -7
      drivers/alsa/.cvsignore
  9. +0
    -6
      drivers/coreaudio/.cvsignore
  10. +0
    -6
      drivers/dummy/.cvsignore
  11. +0
    -7
      drivers/freebob/.cvsignore
  12. +0
    -6
      drivers/oss/.cvsignore
  13. +0
    -7
      drivers/portaudio/.cvsignore
  14. +0
    -8
      jackd/.cvsignore
  15. +0
    -7
      libjack/.cvsignore

+ 0
- 21
.cvsignore View File

@@ -1,21 +0,0 @@
*.desc
*.pc
*.tar.gz
*diff
*diffs
.deps
Makefile
Makefile.in
aclocal.m4
autom4te.cache
config.cache
config.h
config.h.in
config.log
config.status
configure
jack.spec
libtool
stamp-h
stamp-h.in
stamp-h1

+ 40
- 37
.github/workflows/build.yml View File

@@ -1,50 +1,53 @@
name: Release tarball archive
name: Source Code tarball

on:
push:
tags:
- '[0-9]*'

jobs:
archive_source_code:
if: startsWith(github.ref, 'refs/tags/')
name: Source Code Tarball
name: Create source code tarball
runs-on: ubuntu-18.04
env:
ARCHIVE_BASENAME: jack1-${{ github.ref_name }}
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: recursive
- name: Dependencies setup
run: |
sudo apt-get update
sudo apt-get install python-pip
sudo pip install git-archive-all
- name: Archive source code
shell: bash
run: |
cd "${GITHUB_WORKSPACE}"
git-archive-all --prefix="${ARCHIVE_BASENAME}/" -9 "${{runner.workspace}}/${ARCHIVE_BASENAME}.tar.gz"
- uses: actions/upload-artifact@v2
with:
name: Source code tarball
path: ${{runner.workspace}}/${{env.ARCHIVE_BASENAME}}.tar.gz
- name: Checkout
uses: actions/checkout@v2
with:
submodules: recursive
- name: Archive source code
shell: bash
run: |
./autogen.sh
autoreconf -fiv
rm -rf autom4te.cache
rm -f config.h.in~
tar -c -z \
--exclude=".git*" \
--transform="s,^\.,${ARCHIVE_BASENAME}," \
-f ~/${ARCHIVE_BASENAME}.tar.gz \
.
- uses: actions/upload-artifact@v2
with:
name: Source code tarball
path: ~/${{env.ARCHIVE_BASENAME}}.tar.gz

deploy:
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-18.04
env:
ARCHIVE_BASENAME: jack1-${{ github.ref_name }}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
needs:
- archive_source_code
- archive_source_code
steps:
- uses: actions/download-artifact@v2
with:
name: Source code tarball
- uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
with:
tag_name: ${{ github.ref_name }}
name: Release ${{ github.ref_name }}
draft: false
prerelease: false
files: |
jack1-${{ github.ref_name }}.*
- uses: actions/download-artifact@v2
with:
name: Source code tarball
- uses: softprops/action-gh-release@v1
with:
tag_name: ${{ github.ref_name }}
name: Release ${{ github.ref_name }}
draft: false
prerelease: false
files: |
${{ env.ARCHIVE_BASENAME }}.tar.gz

+ 0
- 32
.travis.yml View File

@@ -1,32 +0,0 @@
sudo: false
os:
- osx
- linux
language:
- c
compiler:
- gcc
- clang
addons:
apt:
packages:
- libsamplerate-dev
- libsndfile-dev
- libasound2-dev
- libdb-dev
- doxygen

before_install:
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update; fi
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew outdated pkg-config || brew upgrade pkg-config; fi
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew uninstall libtool && brew install libtool; fi
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install libsamplerate; fi
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install libsndfile; fi
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install readline; fi
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install berkeley-db; fi
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install doxygen; fi

script:
- ./autogen.sh
- ./configure
- make

+ 0
- 10
config/.cvsignore View File

@@ -1,10 +0,0 @@
Makefile
Makefile.in
compile
config.guess
config.sub
depcomp
install-sh
ltmain.sh
missing
mkinstalldirs

+ 0
- 3
config/sysdeps/.cvsignore View File

@@ -1,3 +0,0 @@
Makefile
Makefile.in
*.h

+ 0
- 5
doc/.cvsignore View File

@@ -1,5 +0,0 @@
Makefile
Makefile.in
doxygen-build.stamp
reference.doxygen
reference

+ 0
- 2
drivers/.cvsignore View File

@@ -1,2 +0,0 @@
Makefile
Makefile.in

+ 0
- 7
drivers/alsa/.cvsignore View File

@@ -1,7 +0,0 @@
.deps
.libs
Makefile
Makefile.in
*.lo
jack_alsa.la
jack_alsa_pcm.la

+ 0
- 6
drivers/coreaudio/.cvsignore View File

@@ -1,6 +0,0 @@
Makefile
Makefile.in
*.lo
*.la
.deps
.libs

+ 0
- 6
drivers/dummy/.cvsignore View File

@@ -1,6 +0,0 @@
Makefile
Makefile.in
.deps
.libs
*.lo
*.la

+ 0
- 7
drivers/freebob/.cvsignore View File

@@ -1,7 +0,0 @@
*.lo
.deps
.libs
Makefile
Makefile.in
jack_freebob.la


+ 0
- 6
drivers/oss/.cvsignore View File

@@ -1,6 +0,0 @@
Makefile
Makefile.in
.deps
.libs
*.lo
*.la

+ 0
- 7
drivers/portaudio/.cvsignore View File

@@ -1,7 +0,0 @@
Makefile
Makefile.in
.deps
.libs
*.lo
*.la
*.loT

+ 0
- 8
jackd/.cvsignore View File

@@ -1,8 +0,0 @@
.deps
.libs
Makefile
Makefile.in
jack_md5.h
jackd
jackd.1
jackstart

+ 0
- 7
libjack/.cvsignore View File

@@ -1,7 +0,0 @@
.deps
.libs
Makefile
Makefile.in
*.lo
*.loT
*.la

Loading…
Cancel
Save