summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <hun@n-dimensional.de>2022-11-09 20:26:06 +0100
committerHans Ulrich Niedermann <hun@n-dimensional.de>2022-11-11 14:31:36 +0100
commit6ce8e196493aab529a3f4c41016eaac36e79fa57 (patch)
tree8cd75e402537d808af6ae3ed3f3101b57260ef0d /.github
parent6b595a34adc142e64e2794cfca844e528bafd337 (diff)
downloadlibgphoto2-6ce8e196493aab529a3f4c41016eaac36e79fa57.tar.gz
ci: Update indentation and quote names
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ccpp.yml85
1 files changed, 48 insertions, 37 deletions
diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml
index 086fd5b5e..51e1893bf 100644
--- a/.github/workflows/ccpp.yml
+++ b/.github/workflows/ccpp.yml
@@ -12,40 +12,51 @@ jobs:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v3
- - name: apt-get update
- run: sudo apt-get update
- - name: apt-get 3rd party repo libgd-dev dependency workaround
- run: sudo apt-get remove nginx libgd3
- - name: apt-get install
- run: sudo apt-get install -y autopoint gettext libusb-1.0-0-dev libcurl4-openssl-dev libgd-dev
- - name: autoreconf
- run: autoreconf -i -f
- - name: configure
- run: ./configure --prefix=$PWD/__prefix
- - name: make
- run: NPROC=$(nproc); set -x; make -j$NPROC -l$NPROC
- - name: make check
- run: NPROC=$(nproc); set -x; make -j$NPROC -l$NPROC check
- - name: make distcheck
- run: NPROC=$(nproc); set -x; make -j$NPROC -l$NPROC distcheck
- - name: make install
- run: NPROC=$(nproc); set -x; make -j$NPROC -l$NPROC install
- - name: make installcheck
- run: NPROC=$(nproc); set -x; make -j$NPROC -l$NPROC installcheck
- - name: build and run example libgphoto2 frontend (ambs-lgp2-frontend)
- run: |
- set -x
- exec 2>&1
- abs_top_builddir="$PWD"
- export PKG_CONFIG_PATH="${abs_top_builddir}/__prefix/lib/pkgconfig"
- export LD_LIBRARY_PATH="${abs_top_builddir}/__prefix/lib"
- cd examples/ambs-lgp2-frontend
- autoreconf -vis
- ./configure --prefix="$PWD/__pref"
- make
- ldd ambs-lgp2-frontend
- ./ambs-lgp2-frontend
- make install
- ldd __pref/bin/ambs-lgp2-frontend
- __pref/bin/ambs-lgp2-frontend
+ - uses: actions/checkout@v3
+
+ - name: 'apt-get update'
+ run: sudo apt-get update
+
+ - name: 'apt-get 3rd party repo libgd-dev dependency workaround'
+ run: sudo apt-get remove nginx libgd3
+
+ - name: 'apt-get install'
+ run: sudo apt-get install -y autopoint gettext libusb-1.0-0-dev libcurl4-openssl-dev libgd-dev
+
+ - name: 'autoreconf'
+ run: autoreconf -i -f
+
+ - name: 'configure'
+ run: ./configure --prefix=$PWD/__prefix
+
+ - name: 'make'
+ run: NPROC=$(nproc); set -x; make -j$NPROC -l$NPROC
+
+ - name: 'make check'
+ run: NPROC=$(nproc); set -x; make -j$NPROC -l$NPROC check
+
+ - name: 'make distcheck'
+ run: NPROC=$(nproc); set -x; make -j$NPROC -l$NPROC distcheck
+
+ - name: 'make install'
+ run: NPROC=$(nproc); set -x; make -j$NPROC -l$NPROC install
+
+ - name: 'make installcheck'
+ run: NPROC=$(nproc); set -x; make -j$NPROC -l$NPROC installcheck
+
+ - name: 'build and run example libgphoto2 frontend (ambs-lgp2-frontend)'
+ run: |
+ set -x
+ exec 2>&1
+ abs_top_builddir="$PWD"
+ export PKG_CONFIG_PATH="${abs_top_builddir}/__prefix/lib/pkgconfig"
+ export LD_LIBRARY_PATH="${abs_top_builddir}/__prefix/lib"
+ cd examples/ambs-lgp2-frontend
+ autoreconf -vis
+ ./configure --prefix="$PWD/__pref"
+ make
+ ldd ambs-lgp2-frontend
+ ./ambs-lgp2-frontend
+ make install
+ ldd __pref/bin/ambs-lgp2-frontend
+ __pref/bin/ambs-lgp2-frontend