Merge pull request #267 from elmarco/check-version #81
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 add gcc musl-dev gobject-introspection gtk-doc glib meson ninja | |
- 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 |