From 36a6e8dcbec720aaf4a7c68ce481551be0d48fd8 Mon Sep 17 00:00:00 2001 From: SChernykh <15806605+SChernykh@users.noreply.github.com> Date: Wed, 27 Dec 2023 17:42:45 +0100 Subject: [PATCH] Added RISC-V build --- .github/workflows/c-cpp.yml | 6 ++++-- external/src/RandomX | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 5d82a01..bfecd5e 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -18,14 +18,16 @@ jobs: strategy: matrix: config: - - {arch: x86_64, flags: "-flto=2 -fuse-linker-plugin -ffunction-sections -Wno-error=inline"} - - {arch: aarch64, flags: "-flto=2 -fuse-linker-plugin -ffunction-sections -Wno-error=inline -mfix-cortex-a53-835769 -mfix-cortex-a53-843419"} + - {arch: x86_64, branch: latest-stable, flags: "-flto=2 -fuse-linker-plugin -ffunction-sections -Wno-error=inline"} + - {arch: aarch64, branch: latest-stable, flags: "-flto=2 -fuse-linker-plugin -ffunction-sections -Wno-error=inline -mfix-cortex-a53-835769 -mfix-cortex-a53-843419"} + - {arch: riscv64, branch: edge, flags: "-flto=2 -fuse-linker-plugin -ffunction-sections -Wno-error=inline"} steps: - name: Setup Alpine Linux uses: jirutka/setup-alpine@v1 with: arch: ${{ matrix.config.arch }} + branch: ${{ matrix.config.branch }} - name: Install dependencies shell: alpine.sh --root {0} diff --git a/external/src/RandomX b/external/src/RandomX index 151c3f9..7b1e4df 160000 --- a/external/src/RandomX +++ b/external/src/RandomX @@ -1 +1 @@ -Subproject commit 151c3f96b60f184cffcd1088fc102cb3f19caf95 +Subproject commit 7b1e4df779cae4eb0a33e74fc292b94158d7f69f