Skip to content

Worked on tests and changes for CI tests #14

Worked on tests and changes for CI tests

Worked on tests and changes for CI tests #14

Workflow file for this run

# Build from source on Linux.
name: build_linux
on:
pull_request:
push:
permissions: read-all
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: ubuntu-24.04
compiler: 'clang'
configure_options: ''
- os: ubuntu-24.04
compiler: 'gcc'
configure_options: ''
- os: ubuntu-24.04-arm
compiler: 'clang'
configure_options: ''
- os: ubuntu-24.04-arm
compiler: 'gcc'
configure_options: ''
- os: ubuntu-24.04
compiler: 'gcc'
configure_options: '--with-pthread=no'
steps:
- uses: actions/checkout@v6
- name: Install build dependencies
run: |
sudo apt -y install autoconf automake autopoint build-essential git libtool pkg-config
- name: Download test data
run: |
if test -x "synctestdata.sh"; then ./synctestdata.sh; fi
- name: Build from source
env:
CC: ${{ matrix.compiler }}
run: |
./synclibs.sh --use-head
./autogen.sh
./configure ${{ matrix.configure_options }}
make > /dev/null
- name: Run tests
run: |
tests/runtests.sh
build_dist:
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: ubuntu-24.04
compiler: 'gcc'
configure_options: ''
steps:
- uses: actions/checkout@v6
- name: Install build dependencies
run: |
sudo apt -y install autoconf automake autopoint build-essential git libtool pkg-config
- name: Download test data
run: |
if test -x "synctestdata.sh"; then ./synctestdata.sh; fi
- name: Build from source
env:
CC: ${{ matrix.compiler }}
run: |
./synclibs.sh --use-head
./autogen.sh
./configure ${{ matrix.configure_options }}
make > /dev/null
- name: Run tests
run: |
make distcheck
build_shared:
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: ubuntu-24.04
compiler: 'gcc'
configure_options: ''
steps:
- uses: actions/checkout@v6
- name: Install build dependencies
run: |
sudo apt -y install autoconf automake autopoint build-essential git libtool pkg-config
- name: Download test data
run: |
if test -x "synctestdata.sh"; then ./synctestdata.sh; fi
- name: Prepare shared libraries
run: |
tests/syncsharedlibs.sh --use-head
- name: Build from source
env:
CC: ${{ matrix.compiler }}
run: |
./synclibs.sh --use-head
./autogen.sh
./configure ${{ matrix.configure_options }}
make > /dev/null
- name: Run tests
run: |
tests/runtests.sh