Skip to content

Commit

Permalink
update readme, ccache support for sailfishos, ccache for all releases
Browse files Browse the repository at this point in the history
  • Loading branch information
MrCyjaneK committed Jul 25, 2024
1 parent 58450de commit 700a6cb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/compat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ jobs:
git config --global user.name "CI mrcyjanek.net"
./apply_patches.sh ${{ matrix.coin }}
- name: ccache
if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
uses: hendrikmuhs/[email protected]
with:
key: ${{ github.job }}-${{ matrix.coin }}
Expand Down Expand Up @@ -92,7 +91,6 @@ jobs:
git config --global user.name "CI mrcyjanek.net"
./apply_patches.sh ${{ matrix.coin }}
- name: ccache
if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
uses: hendrikmuhs/[email protected]
with:
key: ${{ github.job }}-${{ matrix.coin }}
Expand Down Expand Up @@ -155,7 +153,6 @@ jobs:
git config --global user.name "CI mrcyjanek.net"
./apply_patches.sh ${{ matrix.coin }}
- name: ccache
if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
uses: hendrikmuhs/[email protected]
with:
key: ${{ github.job }}-${{ matrix.coin }}
Expand Down Expand Up @@ -215,7 +212,6 @@ jobs:
git config --global user.name "CI mrcyjanek.net"
./apply_patches.sh ${{ matrix.coin }}
- name: ccache
if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
uses: hendrikmuhs/[email protected]
with:
key: ${{ github.job }}-${{ matrix.coin }}
Expand Down Expand Up @@ -265,7 +261,6 @@ jobs:
git config --global user.name "CI mrcyjanek.net"
./apply_patches.sh ${{ matrix.coin }}
- name: ccache
if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
uses: hendrikmuhs/[email protected]
with:
key: ${{ github.job }}-${{ matrix.coin }}
Expand All @@ -279,7 +274,7 @@ jobs:
key: depends-${{ github.job }}-${{ matrix.coin }}-${{ hashFiles('*/contrib/depends/packages/*.mk') }}
- name: ${{ matrix.coin }}/aarch64-meego-linux-gnu
run: |
docker run --rm -v $PWD:$PWD -w $PWD ghcr.io/mrcyjanek/sailfishos:4.6.0.11_target_i486 bash -c 'zypper in -f -y perl-IPC-Cmd curl ccache gperf cmake ffmpeg-tools git clang libxkbcommon-devel wayland-protocols-devel wayland-client wayland-egl-devel make glibc-static && git config --global --add safe.directory "*" && for i in gcc g++ ar ranlib; do ln -s /usr/bin/$i /usr/bin/i686-linux-gnu-$i; ln -s /usr/bin/$i /usr/bin/i686-meego-linux-gnu-$i; done && ./build_single.sh ${{ matrix.coin }} i686-meego-linux-gnu -j$(nproc)'
docker run --rm -v $PWD/.ccache:/root/.ccache -v $PWD:$PWD -w $PWD ghcr.io/mrcyjanek/sailfishos:4.6.0.11_target_i486 bash -c 'zypper in -f -y perl-IPC-Cmd curl ccache gperf cmake ffmpeg-tools git clang libxkbcommon-devel wayland-protocols-devel wayland-client wayland-egl-devel make glibc-static && git config --global --add safe.directory "*" && for i in gcc g++ ar ranlib; do ln -s /usr/bin/$i /usr/bin/i686-linux-gnu-$i; ln -s /usr/bin/$i /usr/bin/i686-meego-linux-gnu-$i; done && ./build_single.sh ${{ matrix.coin }} i686-meego-linux-gnu -j$(nproc)'
- name: rename artifacts
run: |
sudo mkdir release/gh/
Expand Down Expand Up @@ -322,7 +317,6 @@ jobs:
./apply_patches.sh monero
./apply_patches.sh wownero
- name: ccache
if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
uses: hendrikmuhs/[email protected]
with:
key: ${{ github.job }}-${{ matrix.coin }}
Expand Down Expand Up @@ -382,7 +376,6 @@ jobs:
git config --global user.name "CI mrcyjanek.net"
./apply_patches.sh ${{ matrix.coin }}
- name: ccache
if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
uses: hendrikmuhs/[email protected]
with:
key: ${{ github.job }}-${{ matrix.coin }}
Expand Down Expand Up @@ -441,7 +434,6 @@ jobs:
git config --global user.name "CI mrcyjanek.net"
./apply_patches.sh ${{ matrix.coin }}
- name: ccache
if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
uses: hendrikmuhs/[email protected]
with:
key: ${{ github.job }}-${{ matrix.coin }}
Expand Down
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,6 @@ While building I aim to compile the code at oldest supported release of debian,
| host-apple-darwin | arm64-apple-darwin23 | dependencies: `brew install unbound [email protected] zmq && brew link [email protected]` |
| host-apple-ios | arm64-apple-darwin23 | |

Libraries on CI are build using the following docker images:
- git.mrcyjanek.net/mrcyjanek/debian:buster
- git.mrcyjanek.net/mrcyjanek/debian:bookworm

It is entirely possible to use upstream debian:buster / debian:bookworm

## Design

Functions are as simple as reasonably possible as few steps should be performed to get from the exposed C api to actual wallet2 (or wallet3 in future) api calls.
Expand Down

0 comments on commit 700a6cb

Please sign in to comment.