Skip to content

Commit

Permalink
FIXUP build
Browse files Browse the repository at this point in the history
  • Loading branch information
dfandrich committed Mar 3, 2024
1 parent d11ff09 commit ac0d2a3
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -549,14 +549,17 @@ jobs:
- name: 'install deps'
env:
DEBIAN_FRONTEND: noninteractive
run: dpkg --add-architecture ${{ matrix.build.arch }} && apt-get update -y && apt-get install -y --no-install-suggests --no-install-recommends ${{ matrix.build.install }}
run: |
dpkg --add-architecture ${{ matrix.build.arch }} && apt-get update -y && apt-get install -y --no-install-suggests --no-install-recommends ${{ matrix.build.install }}
# Add user to running tests, as some fail under root
adduser build
- name: 'build'
env:
PKG_CONFIG_PATH: /usr/lib/${{ matrix.build.arch }}-linux-gnu/pkgconfig
run: make CFLAGS="${{ matrix.build.cflags }}" LDFLAGS="${{ matrix.build.ldflags }}" CC="${{ matrix.build.cc }}" CXX="${{ matrix.build.cxx }}" GTK="${{ matrix.build.gtk }}" ${{ matrix.build.make_opts }} ${{ matrix.build.target }}
run: su build -c 'make CFLAGS="${{ matrix.build.cflags }}" LDFLAGS="${{ matrix.build.ldflags }}" CC="${{ matrix.build.cc }}" CXX="${{ matrix.build.cxx }}" ${{ matrix.build.make_opts }} ${{ matrix.build.target }}'
- name: 'smoke test'
run: ./gpscorrelate -V
- name: 'test'
run: make check CHECK_OPTIONS=-v
- name: 'install test'
- name: 'tests'
run: su build -c 'make check CHECK_OPTIONS=-v'
- name: 'install'
run: make prefix= DESTDIR="${PWD}" ${{ matrix.build.install_target }}

0 comments on commit ac0d2a3

Please sign in to comment.