adding of.entitlements and vscode files to gitignore (#7031) #139
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: build-rpi | |
# 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/**' | |
env: | |
ccache: ccache | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
rpi-build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
cfg: | |
- { libs: armv6l, multistrap_arch: armhf, suffix: arm-linux-gnueabihf, alladdons: 1 } | |
- { libs: aarch64, multistrap_arch: arm64, suffix: aarch64-linux-gnu, alladdons: 1 } | |
env: | |
ARCH: ${{matrix.cfg.libs}} | |
MULTISTRAP_ARCH: ${{matrix.cfg.multistrap_arch}} | |
ALLADDONSEXAMPLE: ${{matrix.cfg.alladdons}} | |
steps: | |
- name: Cache Packages | |
uses: awalsh128/cache-apt-pkgs-action@latest | |
with: | |
packages: multistrap unzip gcc-${{matrix.cfg.suffix}} g++-${{matrix.cfg.suffix}} | |
version: 1.0 | |
- uses: actions/checkout@v4 | |
- name: ccache | |
uses: hendrikmuhs/ccache-action@v1.2.12 | |
with: | |
key: ${{ matrix.cfg.libs }} | |
- name: Download libs | |
run: ./scripts/linux/download_libs.sh -a ${{matrix.cfg.libs}}; | |
- name: Install dependencies | |
run: ./scripts/ci/linuxrpi/install.sh; | |
- name: Build | |
run: ./scripts/ci/linuxrpi/build.sh; | |