Skip to content

Commit

Permalink
Added upload, updated macos target
Browse files Browse the repository at this point in the history
  • Loading branch information
SalOne22 committed Oct 8, 2023
1 parent 2b52390 commit ca829b7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/rimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,14 @@ jobs:
command: test
args: --all-features --release

- name: Upload CLI binary as artifact
uses: actions/upload-artifact@v3
with:
name: Rimage binary (${{ matrix.target }})
path: |
target/${{ env.CARGO_BUILD_TARGET }}/release/rimage
target/${{ env.CARGO_BUILD_TARGET }}/release/rimage.exe
lint:
name: lint
runs-on: ubuntu-latest
Expand Down
5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,14 @@ features = ["codec-aom"]
default-features = false
optional = true

[target.'cfg(not(target_os = "macos"))'.dependencies.jpegxl-rs]
# Because libjxl cant be build with x86_64 macos jet
[target.'cfg(not(all(target_os = "macos", target_arch = "x86_64")))'.dependencies.jpegxl-rs]
version = "0.8.2+libjxl-0.8.2"
default-features = false
features = ["vendored"]
optional = true

[target.'cfg(target_os = "macos")'.dependencies.jpegxl-rs]
[target.'cfg(all(target_os = "macos", target_arch = "x86_64"))'.dependencies.jpegxl-rs]
version = "0.8.2+libjxl-0.8.2"
default-features = false
optional = true
Expand Down

0 comments on commit ca829b7

Please sign in to comment.