Skip to content

ci: Add new argument to apk #67

ci: Add new argument to apk

ci: Add new argument to apk #67

name: Alpine GCC Build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
container:
image: alpine:latest
steps:
- uses: actions/checkout@v2
- name: set up environment
run: |
apk --break-system-packages add gcc musl-dev gobject-introspection gtk-doc glib py3-wheel py3-setuptools ninja py3-pip
pip install meson==0.55.3
- name: default build
run: |
meson setup --werror --fatal-meson-warnings _build_default
meson compile -C _build_default
meson test -C _build_default -v
- name: gcc-vector build
run: |
meson setup -Dsse2=false -Darm_neon=false -Dgcc_vector=true --werror --fatal-meson-warnings _build_gcc
meson compile -C _build_gcc
meson test -C _build_gcc -v
- name: scalar build
run: |
meson setup -Dsse2=false -Darm_neon=false -Dgcc_vector=false --werror --fatal-meson-warnings _build_scalar
meson compile -C _build_scalar