mirror of
https://github.com/monero-project/monero.git
synced 2025-01-19 16:13:40 +02:00
a4a4a1df1d
Some checks failed
ci/gh-actions/cli / macOS (brew) (push) Has been cancelled
ci/gh-actions/cli / Windows (MSYS2) (push) Has been cancelled
ci/gh-actions/cli / Debian 10 (push) Has been cancelled
ci/gh-actions/cli / ${{ matrix.name }} (Ubuntu 20.04, ubuntu-20.04) (push) Has been cancelled
ci/gh-actions/cli / ${{ matrix.name }} (Ubuntu 22.04, ubuntu-22.04) (push) Has been cancelled
ci/gh-actions/cli / Ubuntu 20.04 (libwallet) (push) Has been cancelled
ci/gh-actions/cli / source archive (push) Has been cancelled
ci/gh-actions/depends / ${{ matrix.toolchain.name }} (map[host:aarch64-apple-darwin name:Cross-Mac aarch64]) (push) Has been cancelled
ci/gh-actions/depends / ${{ matrix.toolchain.name }} (map[host:aarch64-linux-android name:ARMv8 Android]) (push) Has been cancelled
ci/gh-actions/depends / ${{ matrix.toolchain.name }} (map[host:aarch64-linux-gnu name:ARM v8 packages:g++-aarch64-linux-gnu]) (push) Has been cancelled
ci/gh-actions/depends / ${{ matrix.toolchain.name }} (map[host:arm-linux-android name:ARMv7 Android]) (push) Has been cancelled
ci/gh-actions/depends / ${{ matrix.toolchain.name }} (map[host:arm-linux-gnueabihf name:ARM v7 packages:g++-arm-linux-gnueabihf]) (push) Has been cancelled
ci/gh-actions/depends / ${{ matrix.toolchain.name }} (map[host:i686-pc-linux-gnu name:i686 Linux packages:g++-multilib]) (push) Has been cancelled
ci/gh-actions/depends / ${{ matrix.toolchain.name }} (map[host:riscv64-linux-gnu name:RISCV 64bit packages:g++-riscv64-linux-gnu]) (push) Has been cancelled
ci/gh-actions/depends / ${{ matrix.toolchain.name }} (map[host:x86_64-apple-darwin name:Cross-Mac x86_64]) (push) Has been cancelled
ci/gh-actions/depends / ${{ matrix.toolchain.name }} (map[host:x86_64-unknown-freebsd name:x86_64 Freebsd packages:clang-8]) (push) Has been cancelled
ci/gh-actions/depends / ${{ matrix.toolchain.name }} (map[host:x86_64-unknown-linux-gnu name:x86_64 Linux]) (push) Has been cancelled
ci/gh-actions/depends / ${{ matrix.toolchain.name }} (map[host:x86_64-w64-mingw32 name:Win64 packages:g++-mingw-w64-x86-64]) (push) Has been cancelled
ci/gh-actions/guix / cache-sources (push) Has been cancelled
ci/gh-actions/cli / Ubuntu 20.04 (tests) (push) Has been cancelled
ci/gh-actions/guix / ${{ matrix.toolchain.target }} (map[target:aarch64-apple-darwin]) (push) Has been cancelled
ci/gh-actions/guix / ${{ matrix.toolchain.target }} (map[target:aarch64-linux-android]) (push) Has been cancelled
ci/gh-actions/guix / ${{ matrix.toolchain.target }} (map[target:aarch64-linux-gnu]) (push) Has been cancelled
ci/gh-actions/guix / ${{ matrix.toolchain.target }} (map[target:arm-linux-gnueabihf]) (push) Has been cancelled
ci/gh-actions/guix / ${{ matrix.toolchain.target }} (map[target:i686-linux-gnu]) (push) Has been cancelled
ci/gh-actions/guix / ${{ matrix.toolchain.target }} (map[target:riscv64-linux-gnu]) (push) Has been cancelled
ci/gh-actions/guix / ${{ matrix.toolchain.target }} (map[target:x86_64-apple-darwin]) (push) Has been cancelled
ci/gh-actions/guix / ${{ matrix.toolchain.target }} (map[target:x86_64-linux-gnu]) (push) Has been cancelled
ci/gh-actions/guix / ${{ matrix.toolchain.target }} (map[target:x86_64-unknown-freebsd]) (push) Has been cancelled
ci/gh-actions/guix / ${{ matrix.toolchain.target }} (map[target:x86_64-w64-mingw32]) (push) Has been cancelled
ci/gh-actions/guix / bundle-logs (push) Has been cancelled
36e299c
build: drop support for 32-bit windows target (tobtoht)
102 lines
3.9 KiB
YAML
102 lines
3.9 KiB
YAML
name: ci/gh-actions/depends
|
|
|
|
on:
|
|
push:
|
|
paths-ignore:
|
|
- 'docs/**'
|
|
- '**/README.md'
|
|
pull_request:
|
|
paths-ignore:
|
|
- 'docs/**'
|
|
- '**/README.md'
|
|
|
|
env:
|
|
APT_SET_CONF: |
|
|
echo "Acquire::Retries \"3\";" | sudo tee -a /etc/apt/apt.conf.d/80-custom
|
|
echo "Acquire::http::Timeout \"120\";" | sudo tee -a /etc/apt/apt.conf.d/80-custom
|
|
echo "Acquire::ftp::Timeout \"120\";" | sudo tee -a /etc/apt/apt.conf.d/80-custom
|
|
CCACHE_SETTINGS: |
|
|
ccache --max-size=150M
|
|
ccache --set-config=compression=true
|
|
USE_DEVICE_TREZOR_MANDATORY: ON
|
|
|
|
jobs:
|
|
build-cross:
|
|
runs-on: ubuntu-20.04
|
|
env:
|
|
CCACHE_TEMPDIR: /tmp/.ccache-temp
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
toolchain:
|
|
- name: "RISCV 64bit"
|
|
host: "riscv64-linux-gnu"
|
|
packages: "g++-riscv64-linux-gnu"
|
|
- name: "ARM v7"
|
|
host: "arm-linux-gnueabihf"
|
|
packages: "g++-arm-linux-gnueabihf"
|
|
- name: "ARM v8"
|
|
host: "aarch64-linux-gnu"
|
|
packages: "g++-aarch64-linux-gnu"
|
|
- name: "i686 Linux"
|
|
host: "i686-pc-linux-gnu"
|
|
packages: "g++-multilib"
|
|
- name: "Win64"
|
|
host: "x86_64-w64-mingw32"
|
|
packages: "g++-mingw-w64-x86-64"
|
|
- name: "x86_64 Linux"
|
|
host: "x86_64-unknown-linux-gnu"
|
|
- name: "Cross-Mac x86_64"
|
|
host: "x86_64-apple-darwin"
|
|
- name: "Cross-Mac aarch64"
|
|
host: "aarch64-apple-darwin"
|
|
- name: "x86_64 Freebsd"
|
|
host: "x86_64-unknown-freebsd"
|
|
packages: "clang-8"
|
|
- name: "ARMv7 Android"
|
|
host: "arm-linux-android"
|
|
- name: "ARMv8 Android"
|
|
host: "aarch64-linux-android"
|
|
name: ${{ matrix.toolchain.name }}
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
submodules: recursive
|
|
# Most volatile cache
|
|
- name: ccache
|
|
uses: actions/cache@v4
|
|
with:
|
|
path: ~/.ccache
|
|
key: ccache-${{ matrix.toolchain.host }}-${{ github.sha }}
|
|
restore-keys: ccache-${{ matrix.toolchain.host }}-
|
|
# Less volatile cache
|
|
- name: depends cache
|
|
uses: actions/cache@v4
|
|
with:
|
|
path: contrib/depends/built
|
|
key: depends-${{ matrix.toolchain.host }}-${{ hashFiles('contrib/depends/packages/*') }}
|
|
restore-keys: |
|
|
depends-${{ matrix.toolchain.host }}-${{ hashFiles('contrib/depends/packages/*') }}
|
|
depends-${{ matrix.toolchain.host }}-
|
|
- name: set apt conf
|
|
run: ${{env.APT_SET_CONF}}
|
|
- name: install dependencies
|
|
run: sudo apt update; sudo apt -y install build-essential libtool cmake autotools-dev automake pkg-config python3 gperf bsdmainutils curl git ca-certificates ccache ${{ matrix.toolchain.packages }}
|
|
- name: prepare w64-mingw32
|
|
if: ${{ matrix.toolchain.host == 'x86_64-w64-mingw32' }}
|
|
run: |
|
|
sudo update-alternatives --set ${{ matrix.toolchain.host }}-g++ $(which ${{ matrix.toolchain.host }}-g++-posix)
|
|
sudo update-alternatives --set ${{ matrix.toolchain.host }}-gcc $(which ${{ matrix.toolchain.host }}-gcc-posix)
|
|
- name: build
|
|
run: |
|
|
${{env.CCACHE_SETTINGS}}
|
|
make depends target=${{ matrix.toolchain.host }} -j4
|
|
- uses: actions/upload-artifact@v4
|
|
if: ${{ matrix.toolchain.host == 'x86_64-w64-mingw32' || matrix.toolchain.host == 'x86_64-apple-darwin' || matrix.toolchain.host == 'aarch64-apple-darwin' || matrix.toolchain.host == 'x86_64-unknown-linux-gnu' }}
|
|
with:
|
|
name: ${{ matrix.toolchain.name }}
|
|
path: |
|
|
/home/runner/work/${{ github.event.repository.name }}/${{ github.event.repository.name }}/build/${{ matrix.toolchain.host }}/release/bin/monero-wallet-cli*
|
|
/home/runner/work/${{ github.event.repository.name }}/${{ github.event.repository.name }}/build/${{ matrix.toolchain.host }}/release/bin/monerod*
|