-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #365 from christofmuc/ubuntu24
Ubuntu24
- Loading branch information
Showing
19 changed files
with
114 additions
and
30 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json | ||
|
||
name: Ubuntu 24 KnobKraft Orm | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build-ubuntu-24: | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- name: Checkout repository with tags | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Additionally checkout submodules - don't use checkout action as it will overwrite refs | ||
run: | | ||
git submodule update --recursive --init --depth 1 | ||
- name: Install dependencies from apt-get | ||
run: sudo apt-get -y update && sudo apt-get install -y libcurl4-openssl-dev pkg-config libtbb-dev libasound2-dev libboost-dev libgtk-3-dev libwebkit2gtk-4.1-dev libglew-dev libjack-dev libicu-dev | ||
|
||
- name: Select proper Python version | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.12' | ||
architecture: 'x64' | ||
|
||
- name: CMake configure | ||
env: # We get the SENTRY DSN from the repository's secret store | ||
SENTRY_DSN: ${{ secrets.SENTRY_DSN }} | ||
shell: bash | ||
run: | | ||
cmake -S . -B builds -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=off -DPYTHON_VERSION_TO_EMBED=3.12 -DSENTRY_CRASH_REPORTING=ON -DSENTRY_DSN=$SENTRY_DSN | ||
- name: CMake build | ||
run: | | ||
cmake --build builds --target package -- -j4 | ||
mv builds/KnobKraft_Orm-${{env.ORM_VERSION}}-Linux.tar.gz builds/KnobKraft_Orm-${{env.ORM_VERSION}}-Ubuntu24.tar.gz | ||
- name: Upload artifact for testing outside of a release | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: ubuntu24-release | ||
path: | | ||
builds/KnobKraft_Orm-${{env.ORM_VERSION}}-Ubuntu24.tar.gz | ||
- name: Publish release | ||
uses: xresloader/upload-to-github-release@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
file: builds/KnobKraft_Orm-${{env.ORM_VERSION}}-Ubuntu24.tar.gz | ||
tags: true | ||
draft: false | ||
|
||
- name: Setup Sentry CLI | ||
uses: mathieu-bour/[email protected] | ||
if: startsWith(github.ref, 'refs/tags/') | ||
with: | ||
token: ${{ secrets.SENTRY_AUTH_TOKEN }} | ||
organization: knobkraft | ||
project: knobkraft | ||
|
||
- name: Upload PDB files to Sentry for stack unwinding when this is a tagged build | ||
if: startsWith(github.ref, 'refs/tags/') | ||
working-directory: builds | ||
run: | | ||
sentry-cli upload-dif . --log-level=debug |
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
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 JUCE
updated
from ae5144 to 5179f4
Submodule SQLiteCpp
updated
58 files
Submodule json-schema-validator
updated
43 files
Submodule sentry-native
updated
107 files