Skip to content
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

Ubuntu2404 arm64 #4

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions .github/workflows/ubuntu-aarch64.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: ubuntu 24.04 aarch64

on:
push:
pull_request:
branches: ["main"]

jobs:
build-ubuntu:
name: build-ubuntu
runs-on: self-hosted

steps:
- name: Install Conan
id: conan
uses: imesense/gha-setup-conan@v0.1
- name: setup
run: |
sudo apt-get update

sudo apt-get install -y curl git wget python3 unzip build-essential \
libgtk-3-dev ffmpeg libavcodec-dev \
cmake ninja-build libavformat-dev libavutil-dev \
libswscale-dev libgflags-dev \
libjpeg-dev libpng-dev libtiff-dev

conan profile detect -f

- uses: actions/checkout@v4
with:
submodules: true
- name: build
run: |
conan build . -b missing -c tools.cmake.cmaketoolchain:generator=Ninja
- uses: actions/upload-artifact@v4
name: upload-linux-x64
with:
path: build/publish/libopencv-linux-x64.tar.gz
name: libopencv-linux-x64.tar.gz
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
draft: true
prerelease: false
files: |
build/publish/libopencv-linux-x64.tar.gz
4 changes: 2 additions & 2 deletions conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,8 +386,8 @@ def build_requirements(self):
# build ffmpeg only for linux, on macos, install with brew,
# on windows use prebuilt dll
# android and ios are unsupported
if self.settings.os == "Linux":
self.tool_requires("ffmpeg/6.1")
# if self.settings.os == "Linux":
# self.tool_requires("ffmpeg/6.1")
if self.settings.os != "Windows":
self.tool_requires("ninja/1.11.1")

Expand Down
Loading