Skip to content

Commit

Permalink
ReaLearn v2.16.0-pre.9
Browse files Browse the repository at this point in the history
  • Loading branch information
helgoboss committed Feb 8, 2024
1 parent df50a84 commit d358b44
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 9 deletions.
35 changes: 30 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
os: windows-latest
toolchain-suffix: x86_64-pc-windows-msvc
lib-file-name: realearn.dll
extension-file-name: ""
extension-file-name: reaper_helgobox.dll
target: x86_64-pc-windows-msvc
use-cross: false
profile: release
Expand All @@ -26,7 +26,7 @@ jobs:
os: windows-latest
toolchain-suffix: i686-pc-windows-msvc
lib-file-name: realearn.dll
extension-file-name: ""
extension-file-name: reaper_helgobox.dll
target: i686-pc-windows-msvc
use-cross: false
profile: release-llvm-out-of-memory-fix
Expand Down Expand Up @@ -155,7 +155,7 @@ jobs:
with:
name: ${{ matrix.artifact }}
path: target/${{ matrix.target }}/${{ matrix.profile }}/${{ matrix.lib-file-name }}
# Upload extension (macOS only for now)
# Upload extension (macOS and Windows only for now)
- name: Upload extension to artifact
if: matrix.extension-file-name != ''
uses: actions/upload-artifact@v2
Expand Down Expand Up @@ -202,7 +202,8 @@ jobs:
prerelease: ${{ contains(github.ref, 'pre') }}
- name: Download artifacts from build job
uses: actions/download-artifact@v2
- name: Upload windows-x86_64 release artifact
# Upload Windows x86_64 artifacts
- name: Upload windows-x86_64 release artifact 1
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -211,7 +212,17 @@ jobs:
asset_path: ./windows-x86_64/realearn.dll
asset_name: realearn-windows-x86_64.dll
asset_content_type: application/octet-stream
- name: Upload windows-i686 release artifact
- name: Upload windows-x86_64 release artifact 2
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./windows-x86_64/reaper_helgobox.dll
asset_name: reaper_helgobox-windows-x86_64.dll
asset_content_type: application/octet-stream
# Upload Windows i686 artifacts
- name: Upload windows-i686 release artifact 1
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -220,6 +231,16 @@ jobs:
asset_path: ./windows-i686/realearn.dll
asset_name: realearn-windows-i686.dll
asset_content_type: application/octet-stream
- name: Upload windows-i686 release artifact 2
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./windows-i686/reaper_helgobox.dll
asset_name: reaper_helgobox-windows-i686.dll
asset_content_type: application/octet-stream
# Upload macOS x86_64 artifacts
- name: Upload macos-x86_64 release artifact 1
uses: actions/upload-release-asset@v1
env:
Expand All @@ -238,6 +259,7 @@ jobs:
asset_path: ./macos-x86_64/libreaper_helgobox.dylib
asset_name: reaper_helgobox-macos-x86_64.dylib
asset_content_type: application/octet-stream
# Upload macOS aarch64 artifacts
- name: Upload macos-aarch64 release artifact 1
uses: actions/upload-release-asset@v1
env:
Expand All @@ -256,6 +278,7 @@ jobs:
asset_path: ./macos-aarch64/libreaper_helgobox.dylib
asset_name: reaper_helgobox-macos-aarch64.dylib
asset_content_type: application/octet-stream
# Upload Linux x86_64 artifacts
- name: Upload linux-x86_64 release artifact
uses: actions/upload-release-asset@v1
env:
Expand All @@ -265,6 +288,7 @@ jobs:
asset_path: ./linux-x86_64/librealearn.so
asset_name: realearn-linux-x86_64.so
asset_content_type: application/octet-stream
# Upload Linux aarch64 artifacts
# - name: Upload linux-aarch64 release artifact
# uses: actions/upload-release-asset@v1
# env:
Expand All @@ -274,6 +298,7 @@ jobs:
# asset_path: ./linux-aarch64/librealearn.so
# asset_name: realearn-linux-aarch64.so
# asset_content_type: application/octet-stream
# Upload Linux armv7 artifacts
# - name: Upload linux-armv7 release artifact
# uses: actions/upload-release-asset@v1
# env:
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion main/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "realearn"
version = "2.16.0-pre.8"
version = "2.16.0-pre.9"
authors = ["Benjamin Klum <[email protected]>"]
edition = "2021"
build = "build.rs"
Expand Down
2 changes: 1 addition & 1 deletion main/src/infrastructure/proto/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ pub use initial_playtime_events::*;
/// It's important to get this right in order to get good error messages from customers. Knowing
/// that they just have an incompatible version mix (e.g. due to manual installing) makes it
/// trivial to respond to bug reports.
pub const HOST_API_VERSION: &str = "1.0.0";
pub const HOST_API_VERSION: &str = "2.0.0";
2 changes: 1 addition & 1 deletion main/src/infrastructure/ui/app/app_library.rs
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,7 @@ fn to_status(err: anyhow::Error) -> Status {

/// The minimum version of the app API that the host (ReaLearn) requires to properly
/// communicates with it. Keep this up-to-date!
pub const MIN_APP_API_VERSION: Version = Version::new(1, 0, 0);
pub const MIN_APP_API_VERSION: Version = Version::new(2, 0, 0);

#[cfg(not(feature = "playtime"))]
fn playtime_not_available() -> Result<(), Status> {
Expand Down

0 comments on commit d358b44

Please sign in to comment.