Skip to content

Remove CPM.cmake and add first steps towards Conan support #21

Remove CPM.cmake and add first steps towards Conan support

Remove CPM.cmake and add first steps towards Conan support #21

Workflow file for this run

name: build-linux64-and-arm
# make the action not run on the local repo if the branch is also in a pull request to OF/OF
on:
push:
if: github.event_name == 'push' && github.event.pull_request == null
paths-ignore:
- '**/*.md'
- 'examples/**'
pull_request:
if: github.event_name == 'pull_request' && github.repository == 'openframeworks/openFrameworks'
paths-ignore:
- '**/*.md'
- 'examples/**'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-linux-platforms:
runs-on: ubuntu-latest
strategy:
matrix:
cfg:
- {target: linux64, libs: 64gcc6}
- {target: linuxarmv6l, libs: armv6l}
# - {target: linuxarmv7l, libs: armv7l}
env:
TARGET: ${{matrix.cfg.target}}
steps:
- uses: actions/checkout@v3
- name: Download libs
run: ./scripts/linux/download_libs.sh -a ${{matrix.cfg.libs}};
- name: Remove Old lib-unwind
run: if [ "$TARGET" = "linux64" ]; then
sudo apt-get remove libunwind-14 -y;
fi
- name: Install dependencies
run: ./scripts/ci/$TARGET/install.sh;
# - name: Install gcc4
# run: if [ ${{matrix.cfg.target}} = "64gcc4" ]; then
# sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test;
# sudo apt-get update -q;
# sudo apt-get install gcc-4.9 g++-4.9;
# fi
- name: Build
run: if [ "$TARGET" = "linux64" ]; then
scripts/ci/$TARGET/build.sh;
scripts/ci/$TARGET/run_tests.sh;
else
scripts/ci/$TARGET/build.sh;
fi
- name: Upload Libs
run: scripts/ci/upload_of_lib.sh;
env:
GA_CI_SECRET: ${{ secrets.CI_SECRET }}