-
Notifications
You must be signed in to change notification settings - Fork 95
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
Need help to set up Github Actions #335
Comments
Hey @JohannesLorenz ! I can help with the macos packaging if you want, but it will depend on the build action, wdyt? |
@erickisos Thanks a lot 👍 I will need to see how far I get with MacOS. For now, it looks OK. I will let you know when there are difficulties. |
@erickisos We currently have issue with the MacOS CI: https://github.com/calf-studio-gear/calf/actions/runs/7863604912/job/21454397740 . The exact error from this log is:
Are you currently able to compile CALF from branch
Thanks on advance. |
Hey @JohannesLorenz ! Let me take a quick look |
Hey @JohannesLorenz after debugging the build process it looks like we were missing the reference to gtk-quartz, perhaps to everything being installed by homebrew, I've created the following PR (#345) that should fix the build issue. Let me know if it works for you! |
I could need your input: Can you please tell me what files I need to create to make a "release"? @erickisos (MacOS) , @Rossmaxx (Windows) Thanks! |
I believe it's just some CMake stuff. If not, you'll have to look at NSIS scripts, which is beyond my knowledge. @DomClark is the only one i can recommend |
What do you mean about "which files are needed"? |
According to this list , there are 4 generators PACKAGEMAKER, DRAGNDROP, BUNDLE and OSXX11. |
@erickisos I added macos:
name: macos
runs-on: macos-13
steps:
- name: Install python3
run: brew install --overwrite [email protected]
- name: Install dependencies
run: brew install automake fluid-synth gtk+ lv2 gtk-mac-integration expat
- name: Check out
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Configure
run: |
export LDFLAGS="-L$(brew --prefix)/lib"
export CPPFLAGS="-I$(brew --prefix expat)/include"
mkdir build && cd build
cmake .. -DCMAKE_INSTALL_PREFIX=../install -DCMAKE_SHARED_LINKER_FLAGS="-L$(brew --prefix)/lib -Wl,-rpath,$(brew --prefix)/lib" -DCMAKE_CXX_FLAGS="-I$(brew --prefix)/include"
- name: Build
run: cmake --build build
- name: Package
run: |
cd build
cpack -G productbuild Error:
Can you run these steps on your own MacBook and reproduce the error? Any idea what's wrong? |
@erickisos I finally managed to build a macOS PKG file! But I cannot test it. Can you please check if you can work with the macOS file from https://github.com/calf-studio-gear/calf/actions/runs/10640016950 ? |
Good news, now we have PKG for MacOS and Installer for Windows (x64): https://github.com/calf-studio-gear/calf/actions/runs/10657742464 Please test! |
I apologize for the delay, let me give it a try. It honestly looks great! |
@erickisos No problem, looking forward to your review. |
@erickisos friendly reminder, just in case you forgot. |
@erickisos Last reminder. You said you would give feedback, but that was 1 month ago. If you won't report anything within the next 7 days, I will just do the release, because the project needs some progress. |
Hello all,
@boomshop was kind enough to grant me writing permission, so I can at least merge some of the bug fixes to maintain CALF.
Before doing that, I want to setup a Github Actions CI, to avoid introducing new errors. I got linux-gcc, linux-clang, macos and mingw64 (cross-compile) running (see branch
github-actions
), but there are still open questions:benchmark.cpp
.Thanks for any help!
The text was updated successfully, but these errors were encountered: