disable docker runner on android

+other updates
This commit is contained in:
cyan
2024-07-25 00:44:46 +00:00
parent 58d0e11570
commit 92f11ab429
+29 -28
View File
@@ -28,13 +28,13 @@ jobs:
uses: hendrikmuhs/ccache-action@v1.2 uses: hendrikmuhs/ccache-action@v1.2
with: with:
key: ${{ github.job }}-${{ matrix.coin }} key: ${{ github.job }}-${{ matrix.coin }}
- name: Cache - name: Cache built
if: ${{ !startsWith(github.ref, 'refs/tags/v') }} if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
uses: actions/cache@v4 uses: actions/cache@v4
with: with:
path: | path: |
${{ matrix.coin }}/contrib/depends/sources ${{ matrix.coin }}/contrib/depends/built/*
${{ matrix.coin }}/contrib/depends/built ${{ matrix.coin }}/contrib/depends/sources/*
key: depends-${{ github.job }}-${{ matrix.coin }}-${{ hashFiles('*/contrib/depends/packages/*.mk') }} key: depends-${{ github.job }}-${{ matrix.coin }}-${{ hashFiles('*/contrib/depends/packages/*.mk') }}
- name: ${{ matrix.coin }}/x86_64-w64-mingw32 - name: ${{ matrix.coin }}/x86_64-w64-mingw32
run: ./build_single.sh ${{ matrix.coin }} x86_64-w64-mingw32 -j$(nproc) run: ./build_single.sh ${{ matrix.coin }} x86_64-w64-mingw32 -j$(nproc)
@@ -63,8 +63,8 @@ jobs:
matrix: matrix:
coin: [monero, wownero] coin: [monero, wownero]
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: # container:
image: debian:bookworm # image: debian:bookworm
steps: steps:
- name: Free Disk Space - name: Free Disk Space
if: ${{ !startsWith(github.ref, 'refs/tags/v') }} if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
@@ -79,8 +79,8 @@ jobs:
swap-storage: true swap-storage: true
- name: Install dependencies - name: Install dependencies
run: | run: |
apt update sudo apt update
apt install -y build-essential pkg-config autoconf libtool ccache make cmake gcc g++ git curl lbzip2 libtinfo5 gperf unzip python-is-python3 sudo apt install -y build-essential pkg-config autoconf libtool ccache make cmake gcc g++ git curl lbzip2 libtinfo5 gperf unzip python-is-python3
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
@@ -96,13 +96,14 @@ jobs:
uses: hendrikmuhs/ccache-action@v1.2 uses: hendrikmuhs/ccache-action@v1.2
with: with:
key: ${{ github.job }}-${{ matrix.coin }} key: ${{ github.job }}-${{ matrix.coin }}
- name: Cache - name: Cache built
if: ${{ !startsWith(github.ref, 'refs/tags/v') }} if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
uses: actions/cache@v4 uses: actions/cache@v4
with: with:
path: | path: |
${{ matrix.coin }}/contrib/depends/sources ${{ matrix.coin }}/contrib/depends/built/*
${{ matrix.coin }}/contrib/depends/built !${{ matrix.coin }}/contrib/depends/built/*/android_ndk
${{ matrix.coin }}/contrib/depends/sources/*
key: depends-${{ github.job }}-${{ matrix.coin }}-${{ hashFiles('*/contrib/depends/packages/*.mk') }} key: depends-${{ github.job }}-${{ matrix.coin }}-${{ hashFiles('*/contrib/depends/packages/*.mk') }}
- name: ${{ matrix.coin }}/x86_64-linux-android - name: ${{ matrix.coin }}/x86_64-linux-android
run: ./build_single.sh ${{ matrix.coin }} x86_64-linux-android -j$(nproc) run: ./build_single.sh ${{ matrix.coin }} x86_64-linux-android -j$(nproc)
@@ -155,13 +156,13 @@ jobs:
uses: hendrikmuhs/ccache-action@v1.2 uses: hendrikmuhs/ccache-action@v1.2
with: with:
key: ${{ github.job }}-${{ matrix.coin }} key: ${{ github.job }}-${{ matrix.coin }}
- name: Cache - name: Cache built
if: ${{ !startsWith(github.ref, 'refs/tags/v') }} if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
uses: actions/cache@v4 uses: actions/cache@v4
with: with:
path: | path: |
${{ matrix.coin }}/contrib/depends/sources ${{ matrix.coin }}/contrib/depends/built/*
${{ matrix.coin }}/contrib/depends/built ${{ matrix.coin }}/contrib/depends/sources/*
key: depends-${{ github.job }}-${{ matrix.coin }}-${{ hashFiles('*/contrib/depends/packages/*.mk') }} key: depends-${{ github.job }}-${{ matrix.coin }}-${{ hashFiles('*/contrib/depends/packages/*.mk') }}
- name: ${{ matrix.coin }}/x86_64-linux-gnu - name: ${{ matrix.coin }}/x86_64-linux-gnu
run: ./build_single.sh ${{ matrix.coin }} x86_64-linux-gnu -j$(nproc) run: ./build_single.sh ${{ matrix.coin }} x86_64-linux-gnu -j$(nproc)
@@ -215,13 +216,13 @@ jobs:
uses: hendrikmuhs/ccache-action@v1.2 uses: hendrikmuhs/ccache-action@v1.2
with: with:
key: ${{ github.job }}-${{ matrix.coin }} key: ${{ github.job }}-${{ matrix.coin }}
- name: Cache - name: Cache built
if: ${{ !startsWith(github.ref, 'refs/tags/v') }} if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
uses: actions/cache@v4 uses: actions/cache@v4
with: with:
path: | path: |
${{ matrix.coin }}/contrib/depends/sources ${{ matrix.coin }}/contrib/depends/built/*
${{ matrix.coin }}/contrib/depends/built ${{ matrix.coin }}/contrib/depends/sources/*
key: depends-${{ github.job }}-${{ matrix.coin }}-${{ hashFiles('*/contrib/depends/packages/*.mk') }} key: depends-${{ github.job }}-${{ matrix.coin }}-${{ hashFiles('*/contrib/depends/packages/*.mk') }}
- name: ${{ matrix.coin }}/aarch64-meego-linux-gnu - name: ${{ matrix.coin }}/aarch64-meego-linux-gnu
run: | run: |
@@ -265,13 +266,13 @@ jobs:
uses: hendrikmuhs/ccache-action@v1.2 uses: hendrikmuhs/ccache-action@v1.2
with: with:
key: ${{ github.job }}-${{ matrix.coin }} key: ${{ github.job }}-${{ matrix.coin }}
- name: Cache - name: Cache built
if: ${{ !startsWith(github.ref, 'refs/tags/v') }} if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
uses: actions/cache@v4 uses: actions/cache@v4
with: with:
path: | path: |
${{ matrix.coin }}/contrib/depends/sources ${{ matrix.coin }}/contrib/depends/built/*
${{ matrix.coin }}/contrib/depends/built ${{ matrix.coin }}/contrib/depends/sources/*
key: depends-${{ github.job }}-${{ matrix.coin }}-${{ hashFiles('*/contrib/depends/packages/*.mk') }} key: depends-${{ github.job }}-${{ matrix.coin }}-${{ hashFiles('*/contrib/depends/packages/*.mk') }}
- name: ${{ matrix.coin }}/aarch64-meego-linux-gnu - name: ${{ matrix.coin }}/aarch64-meego-linux-gnu
run: | run: |
@@ -322,13 +323,13 @@ jobs:
uses: hendrikmuhs/ccache-action@v1.2 uses: hendrikmuhs/ccache-action@v1.2
with: with:
key: ${{ github.job }}-${{ matrix.coin }} key: ${{ github.job }}-${{ matrix.coin }}
- name: Cache - name: Cache built
if: ${{ !startsWith(github.ref, 'refs/tags/v') }} if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
uses: actions/cache@v4 uses: actions/cache@v4
with: with:
path: | path: |
${{ matrix.coin }}/contrib/depends/sources ${{ matrix.coin }}/contrib/depends/built/*
${{ matrix.coin }}/contrib/depends/built ${{ matrix.coin }}/contrib/depends/sources/*
key: depends-${{ github.job }}-${{ matrix.coin }}-${{ hashFiles('*/contrib/depends/packages/*.mk') }} key: depends-${{ github.job }}-${{ matrix.coin }}-${{ hashFiles('*/contrib/depends/packages/*.mk') }}
- name: ${{ matrix.coin }}/x86_64-apple-darwin11 - name: ${{ matrix.coin }}/x86_64-apple-darwin11
run: ./build_single.sh ${{ matrix.coin }} x86_64-apple-darwin11 -j$(nproc) run: ./build_single.sh ${{ matrix.coin }} x86_64-apple-darwin11 -j$(nproc)
@@ -382,13 +383,13 @@ jobs:
uses: hendrikmuhs/ccache-action@v1.2 uses: hendrikmuhs/ccache-action@v1.2
with: with:
key: ${{ github.job }}-${{ matrix.coin }} key: ${{ github.job }}-${{ matrix.coin }}
- name: Cache - name: Cache built
if: ${{ !startsWith(github.ref, 'refs/tags/v') }} if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
uses: actions/cache@v4 uses: actions/cache@v4
with: with:
path: | path: |
${{ matrix.coin }}/contrib/depends/sources ${{ matrix.coin }}/contrib/depends/built/*
${{ matrix.coin }}/contrib/depends/built ${{ matrix.coin }}/contrib/depends/sources/*
key: depends-${{ github.job }}-${{ matrix.coin }}-${{ hashFiles('*/contrib/depends/packages/*.mk') }} key: depends-${{ github.job }}-${{ matrix.coin }}-${{ hashFiles('*/contrib/depends/packages/*.mk') }}
- name: build - name: build
run: | run: |
@@ -441,13 +442,13 @@ jobs:
uses: hendrikmuhs/ccache-action@v1.2 uses: hendrikmuhs/ccache-action@v1.2
with: with:
key: ${{ github.job }}-${{ matrix.coin }} key: ${{ github.job }}-${{ matrix.coin }}
- name: Cache - name: Cache built
if: ${{ !startsWith(github.ref, 'refs/tags/v') }} if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
uses: actions/cache@v4 uses: actions/cache@v4
with: with:
path: | path: |
${{ matrix.coin }}/contrib/depends/sources ${{ matrix.coin }}/contrib/depends/built/*
${{ matrix.coin }}/contrib/depends/built ${{ matrix.coin }}/contrib/depends/sources/*
key: depends-${{ github.job }}-${{ matrix.coin }}-${{ hashFiles('*/contrib/depends/packages/*.mk') }} key: depends-${{ github.job }}-${{ matrix.coin }}-${{ hashFiles('*/contrib/depends/packages/*.mk') }}
- name: build - name: build
run: | run: |