From: <al...@us...> - 2023-03-19 18:41:15
|
This is an automated email from the git hooks/post-receive-user script. allura pushed a commit to branch master in repository libspectrum. View the commit online: https://sourceforge.net/p/fuse-emulator/libspectrum/ci/7aa78359f1e8f44cfc0d3edfbde36a80c0f40697/ commit 7aa78359f1e8f44cfc0d3edfbde36a80c0f40697 Author: Miroslav Ďurčík / Arki55 <mir...@gm...> AuthorDate: Sun Feb 5 16:53:14 2023 +0100 arki55/features/T9-github-build-checks (libspectrum) build: NON reusable workflow for building and testing libspectrum on Linux - with fake glib. - At the end it zips all files (including compiled binaries) and uplouads it a workflow artifact. - Executed on push (commits), pull_request (merge commit). - Build configuration used by this script: Platform: Linux zlib support: yes bzip2 support: yes libgcrypt support: yes libaudiofile support: yes Internal GLib replacement: yes --- .github/workflows/build_linux_fake_glib.yml | 70 +++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) diff --git a/.github/workflows/build_linux_fake_glib.yml b/.github/workflows/build_linux_fake_glib.yml new file mode 100644 index 0000000..70b9967 --- /dev/null +++ b/.github/workflows/build_linux_fake_glib.yml @@ -0,0 +1,70 @@ +name: Libspectrum for Linux (2) +run-name: Build and test Libspectrum for Linux (2) [ all libs, fake glib ] / ${{ github.actor }} / + +# Executed upon each commit pushed, merge commit in PR +on: [push, pull_request] + +jobs: + build: + name: Build & Test + runs-on: ubuntu-latest + timeout-minutes: 15 + steps: + - name: (1) Prepare git + run: | + echo "Not needed in this build" + + - name: (2) Check out repository code + uses: actions/checkout@v3 + + - name: (3) Install dependencies + run: | + echo "Installing dependencies .." + sudo apt install -y libaudiofile-dev + + - name: (4) Autogen.sh + run: | + echo "Running autogen.sh .." + ./autogen.sh + + - name: (5) Configure for linux (fake glib) + run: | + echo "Running configure (fake glib) .." + ./configure --with-fake-glib | tee ./configure.out + + - name: (6) Verify output from configure + run: | + .github/scripts/in_config.sh "libspectrum is ready to be compiled" + .github/scripts/in_config.sh "zlib support: yes" + .github/scripts/in_config.sh "bzip2 support: yes" + .github/scripts/in_config.sh "libgcrypt support: yes" + .github/scripts/in_config.sh "libaudiofile support: yes" + .github/scripts/in_config.sh "Internal GLib replacement: yes" + + - name: (7) Make + run: | + echo "Running make .." + make + + - name: (8) Install (+sudo) + run: | + echo "Running make install .." + sudo make install + + - name: (9) Run tests + run: | + echo "Bulding and running tests .." + make check + + - name: (10) Upload generated files + uses: actions/upload-artifact@v3 + with: + name: libspectrum-linux-fake-glib + path: | + doc/libspectrum.3 + libspectrum.h + libspectrum.pc + + - name: (11) Finish + run: | + echo "🍏 Finishing with status ${{ job.status }}." |