-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[actions] rpi changes #7928
Merged
Merged
[actions] rpi changes #7928
Changes from all commits
Commits
Show all changes
63 commits
Select commit
Hold shift + click to select a range
53d36c9
rpi changes
dimitre 7ad92a6
act back
dimitre ff7ce13
remove armv6l
dimitre 884f708
new tests
dimitre ef4e8ec
changes
dimitre ac6924c
test
dimitre 9d8a3dd
liblaplack-dev
dimitre e3392ae
more test
dimitre ebc3d4f
Merge branch 'openframeworks:master' into rpiact
dimitre f1e9a01
libdir
dimitre ad79a1b
adjustments
dimitre ce4dd16
more
dimitre 44205ea
test
dimitre 3f26382
up
dimitre f8f10bf
revert test
dimitre e341c98
updates
dimitre e5572ba
one more
dimitre 6e54f91
up
dimitre 4b016e4
up
dimitre 2ea7e2f
up
dimitre 4570238
up
dimitre 81cd65c
test
dimitre 4350393
up;
dimitre ead7d4e
one more
dimitre df19f22
rm lapack
dimitre bdf7891
up
dimitre ea70205
update scripts to armv6l as default
dimitre f53576a
openCv LDFLAGS lblas llapack
dimitre 99e5b5d
update
dimitre 3058727
update
dimitre e5be9db
update
dimitre 0a83293
update
dimitre 31decf5
update
dimitre a071fc1
update
dimitre 6dfe78a
update
dimitre 7221afb
update
dimitre 296c1f8
update
dimitre 78fe7f1
update
dimitre cb42f5b
update
dimitre eb1b532
update
dimitre 06a23e1
update
dimitre 97284ad
update
dimitre dc8f24f
update
dimitre 3a4ee0f
update
dimitre df467ae
up
dimitre 794eb1e
up
dimitre 7731fff
up
dimitre df88754
up
dimitre 712e897
up
dimitre 52f79b3
up
dimitre 001c185
up
dimitre a609094
up
dimitre 8cd8e1c
up
dimitre ce49a3b
now only one action for rpi
dimitre fcca9c7
up
dimitre 89567f1
updates
dimitre 36daa10
ok
dimitre a3b9d4e
okk
dimitre ff40bee
rename
dimitre 477acf9
revert some
dimitre 7109e18
remove linuxarmv6l/install & build
dimitre 1ceccde
minimal install.sh
dimitre 04776c4
unsecure
dimitre File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
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/[email protected] | ||
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; | ||
|
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
Submodule projectGenerator
updated
29 files
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
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
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
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
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will this work for people working with the device itself ( as opposed to building in the CI )?
ie: does userland exist for Pi device users?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch. maybe I should put back the includes with /opt/vc in armv6l
easy to do
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and enclose this in ifdef CROSS_COMPILE