Skip to content

Commit

Permalink
CI: test cmake
Browse files Browse the repository at this point in the history
Signed-off-by: Rosen Penev <rosenp@gmail.com>
  • Loading branch information
neheb committed Jan 28, 2024
1 parent a53ba45 commit b520a8c
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/on_PR_linux_matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,31 @@ on:

jobs:
Linux:
name: 'Ubuntu 22.04 - GCC, BuildType:${{matrix.build_type}}, SHARED:${{matrix.shared_libraries}}'
name: 'Alpine - ${{matrix.platform}}, BuildType:${{matrix.build_type}}, SHARED:${{matrix.shared_libraries}}'
runs-on: ubuntu-22.04

strategy:
fail-fast: false
matrix:
build_type: [Release, Debug]
shared_libraries: [ON, OFF]
platform: ['x86', 'x86_64', 'armhf','armv7','aarch64','ppc64le','riscv64']
defaults:
run:
shell: alpine.sh {0}

steps:
- uses: actions/checkout@v4
- uses: jirutka/setup-alpine@v1
with:
branch: 3.16
arch: ${{matrix.platform}}
packages: >
build-base cmake samurai py3-pip pkgconf curl-dev expat-dev gettext-tiny-dev gtest-dev inih-dev inih-inireader-dev zlib-dev
- name: install dependencies
run: |
sudo apt install -y tree
python3 -m pip install conan==1.* ninja
python -m pip install conan==1.*
- name: Conan common config
run: |
Expand Down

0 comments on commit b520a8c

Please sign in to comment.