mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-23 20:15:19 -07:00
dotnet core: try fixing run-test-binaries-cross-plat
This commit is contained in:
parent
2a7886d8f2
commit
a7c4cd8b83
11
.github/workflows/dotnet-core.yml
vendored
11
.github/workflows/dotnet-core.yml
vendored
@ -328,6 +328,13 @@ jobs:
|
|||||||
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT: 1
|
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT: 1
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
include:
|
||||||
|
- arch: x64
|
||||||
|
libs: /usr/lib
|
||||||
|
- arch: arm
|
||||||
|
libs: /usr/arm-linux-gnueabihf/lib
|
||||||
|
- arch: arm64
|
||||||
|
libs: /usr/aarch64-linux-gnu/lib
|
||||||
arch: [x64, arm, arm64]
|
arch: [x64, arm, arm64]
|
||||||
steps:
|
steps:
|
||||||
- name: Set up build environment
|
- name: Set up build environment
|
||||||
@ -340,7 +347,7 @@ jobs:
|
|||||||
# gcrypt, which the apt-get command relies on.
|
# gcrypt, which the apt-get command relies on.
|
||||||
sudo mkdir -p /etc/gcrypt && echo all | sudo tee /etc/gcrypt/hwf.deny
|
sudo mkdir -p /etc/gcrypt && echo all | sudo tee /etc/gcrypt/hwf.deny
|
||||||
|
|
||||||
sudo apt-get update && sudo apt-get install -y qemu binfmt-support qemu-user-static qemu-system-arm gcc-arm-linux-gnueabihf libc6-armhf-cross libc6-arm64-cross
|
sudo apt-get update && sudo apt-get install -y qemu binfmt-support qemu-user-static qemu-system-arm gcc-arm-linux-gnueabihf gcc-aarch64-linux-gnu libc6-armhf-cross libc6-arm64-cross
|
||||||
sudo dpkg --add-architecture armhf
|
sudo dpkg --add-architecture armhf
|
||||||
sudo dpkg --add-architecture arm64
|
sudo dpkg --add-architecture arm64
|
||||||
sudo update-binfmts --enable qemu-aarch64
|
sudo update-binfmts --enable qemu-aarch64
|
||||||
@ -357,4 +364,4 @@ jobs:
|
|||||||
- name: Run ${{ matrix.arch }}
|
- name: Run ${{ matrix.arch }}
|
||||||
run: |
|
run: |
|
||||||
chmod +x .libsodium-builds/linux-${{ matrix.arch }}/Tests
|
chmod +x .libsodium-builds/linux-${{ matrix.arch }}/Tests
|
||||||
.libsodium-builds/linux-${{ matrix.arch }}/Tests
|
env LD_LIBRARY_PATH=${{ matrix.libs }} .libsodium-builds/linux-${{ matrix.arch }}/Tests
|
||||||
|
Loading…
Reference in New Issue
Block a user