diff options
author | Filipe Coelho <falktx@falktx.com> | 2022-01-15 12:42:47 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-15 12:42:47 +0000 |
commit | 97957bb88f18a088110b0fc33f23a25e095e25b9 (patch) | |
tree | 87a9956d910092eb9ac87f711652c00cf4ab96fa | |
parent | 4ec3b62dfc4c9076c294e0e62a7a1a3eaf87fbe8 (diff) | |
download | jack1-97957bb88f18a088110b0fc33f23a25e095e25b9.tar.gz |
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
-rw-r--r-- | .cvsignore | 21 | ||||
-rw-r--r-- | .github/workflows/build.yml | 77 | ||||
-rw-r--r-- | .travis.yml | 32 | ||||
-rw-r--r-- | config/.cvsignore | 10 | ||||
-rw-r--r-- | config/sysdeps/.cvsignore | 3 | ||||
-rw-r--r-- | doc/.cvsignore | 5 | ||||
-rw-r--r-- | drivers/.cvsignore | 2 | ||||
-rw-r--r-- | drivers/alsa/.cvsignore | 7 | ||||
-rw-r--r-- | drivers/coreaudio/.cvsignore | 6 | ||||
-rw-r--r-- | drivers/dummy/.cvsignore | 6 | ||||
-rw-r--r-- | drivers/freebob/.cvsignore | 7 | ||||
-rw-r--r-- | drivers/oss/.cvsignore | 6 | ||||
-rw-r--r-- | drivers/portaudio/.cvsignore | 7 | ||||
-rw-r--r-- | jackd/.cvsignore | 8 | ||||
-rw-r--r-- | libjack/.cvsignore | 7 |
15 files changed, 40 insertions, 164 deletions
diff --git a/.cvsignore b/.cvsignore deleted file mode 100644 index 48f2e53..0000000 --- a/.cvsignore +++ /dev/null @@ -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 diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ce98277..fc2328d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 347960c..0000000 --- a/.travis.yml +++ /dev/null @@ -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 diff --git a/config/.cvsignore b/config/.cvsignore deleted file mode 100644 index c0b20bc..0000000 --- a/config/.cvsignore +++ /dev/null @@ -1,10 +0,0 @@ -Makefile -Makefile.in -compile -config.guess -config.sub -depcomp -install-sh -ltmain.sh -missing -mkinstalldirs diff --git a/config/sysdeps/.cvsignore b/config/sysdeps/.cvsignore deleted file mode 100644 index eb92105..0000000 --- a/config/sysdeps/.cvsignore +++ /dev/null @@ -1,3 +0,0 @@ -Makefile -Makefile.in -*.h diff --git a/doc/.cvsignore b/doc/.cvsignore deleted file mode 100644 index 45d9e5b..0000000 --- a/doc/.cvsignore +++ /dev/null @@ -1,5 +0,0 @@ -Makefile -Makefile.in -doxygen-build.stamp -reference.doxygen -reference diff --git a/drivers/.cvsignore b/drivers/.cvsignore deleted file mode 100644 index 282522d..0000000 --- a/drivers/.cvsignore +++ /dev/null @@ -1,2 +0,0 @@ -Makefile -Makefile.in diff --git a/drivers/alsa/.cvsignore b/drivers/alsa/.cvsignore deleted file mode 100644 index 9f99dba..0000000 --- a/drivers/alsa/.cvsignore +++ /dev/null @@ -1,7 +0,0 @@ -.deps -.libs -Makefile -Makefile.in -*.lo -jack_alsa.la -jack_alsa_pcm.la diff --git a/drivers/coreaudio/.cvsignore b/drivers/coreaudio/.cvsignore deleted file mode 100644 index 0d0371d..0000000 --- a/drivers/coreaudio/.cvsignore +++ /dev/null @@ -1,6 +0,0 @@ -Makefile -Makefile.in -*.lo -*.la -.deps -.libs diff --git a/drivers/dummy/.cvsignore b/drivers/dummy/.cvsignore deleted file mode 100644 index 6e5ca7e..0000000 --- a/drivers/dummy/.cvsignore +++ /dev/null @@ -1,6 +0,0 @@ -Makefile -Makefile.in -.deps -.libs -*.lo -*.la diff --git a/drivers/freebob/.cvsignore b/drivers/freebob/.cvsignore deleted file mode 100644 index 7bbdc20..0000000 --- a/drivers/freebob/.cvsignore +++ /dev/null @@ -1,7 +0,0 @@ -*.lo -.deps -.libs -Makefile -Makefile.in -jack_freebob.la - diff --git a/drivers/oss/.cvsignore b/drivers/oss/.cvsignore deleted file mode 100644 index 6e5ca7e..0000000 --- a/drivers/oss/.cvsignore +++ /dev/null @@ -1,6 +0,0 @@ -Makefile -Makefile.in -.deps -.libs -*.lo -*.la diff --git a/drivers/portaudio/.cvsignore b/drivers/portaudio/.cvsignore deleted file mode 100644 index c5d084f..0000000 --- a/drivers/portaudio/.cvsignore +++ /dev/null @@ -1,7 +0,0 @@ -Makefile -Makefile.in -.deps -.libs -*.lo -*.la -*.loT diff --git a/jackd/.cvsignore b/jackd/.cvsignore deleted file mode 100644 index 549546f..0000000 --- a/jackd/.cvsignore +++ /dev/null @@ -1,8 +0,0 @@ -.deps -.libs -Makefile -Makefile.in -jack_md5.h -jackd -jackd.1 -jackstart diff --git a/libjack/.cvsignore b/libjack/.cvsignore deleted file mode 100644 index a992f83..0000000 --- a/libjack/.cvsignore +++ /dev/null @@ -1,7 +0,0 @@ -.deps -.libs -Makefile -Makefile.in -*.lo -*.loT -*.la |