Merge pull request #271 from ebassi/issue-250 #137
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: Ubuntu Clang Build | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: set up environment | |
run: | | |
sudo apt-get install clang gir1.2-glib-2.0 gobject-introspection gtk-doc-tools libgirepository1.0-dev libglib2.0-dev ninja-build python3-setuptools python3-wheel | |
sudo pip3 install meson==1.0.0 | |
- name: default build | |
run: | | |
meson setup --werror --fatal-meson-warnings _build_default | |
meson compile -C _build_default | |
meson test -C _build_default -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 | |
meson test -C _build_scalar -v |