Skip to content
Merged
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
5 changes: 5 additions & 0 deletions .github/workflows/pm-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ jobs:
test: |
cargo test -p utoo-pm --target x86_64-unknown-linux-gnu -- --nocapture

- host: ubuntu-22.04-arm
target: aarch64-unknown-linux-gnu
test: |
cargo test -p utoo-pm --target aarch64-unknown-linux-gnu -- --nocapture

name: utoopm-ci-${{ matrix.settings.target }}
runs-on: ${{ matrix.settings.host }}
steps:
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/pm-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ jobs:
platform_os: darwin
platform_cpu: arm64

- os: ubuntu-22.04-arm
target: aarch64-unknown-linux-gnu
platform_os: linux
platform_cpu: arm64

runs-on: ${{ matrix.os }}
container:
image: ${{ matrix.container }}
Expand All @@ -38,7 +43,7 @@ jobs:

steps:
- name: Install Linux Dependencies
if: ${{ matrix.platform_os == 'linux' }}
if: ${{ matrix.platform_os == 'linux' && matrix.platform_cpu == 'x64' }}
env:
DEBIAN_FRONTEND: noninteractive
run: |
Expand Down Expand Up @@ -91,6 +96,10 @@ jobs:
if: ${{ matrix.target == 'x86_64-apple-darwin' }}
run: rustup target add x86_64-apple-darwin

- name: Add cross-compilation target for aarch64 on Linux
if: ${{ matrix.target == 'aarch64-unknown-linux-gnu' }}
run: rustup target add aarch64-unknown-linux-gnu

- name: Add SSH private keys for submodule repositories
uses: webfactory/ssh-agent@v0.7.0
with:
Expand Down
1 change: 1 addition & 0 deletions vendor/templates/utoo.package.json.template
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
},
"optionalDependencies": {
"@utoo/utoo-linux-x64": "{{version}}",
"@utoo/utoo-linux-arm64": "{{version}}",
"@utoo/utoo-darwin-x64": "{{version}}",
"@utoo/utoo-darwin-arm64": "{{version}}"
},
Expand Down
Loading