Reduce the amount of CI pipelines to run outside master

This commit is contained in:
Sergi Àlvarez i Capilla 2022-02-11 23:16:05 +01:00
parent 85b9343d28
commit d09742370f
3 changed files with 9 additions and 4 deletions

View File

@ -148,6 +148,7 @@ jobs:
/tmp/bin/r2 -v
/tmp/bin/rabin2 -l /tmp/bin/r2
build-spaces:
if: contains(github.ref, 'master') || contains(github.ref, 'ci-')
name: linux-meson-spaces
runs-on: ubuntu-20.04
steps:
@ -184,6 +185,7 @@ jobs:
find "/tmp/r 2"
LD_LIBRARY_PATH="/tmp/r 2/lib/x86_64-linux-gnu/" "/tmp/r 2/bin/r2" -v
linux-static:
if: contains(github.ref, 'master') || contains(github.ref, 'ci-')
runs-on: ubuntu-20.04
steps:
- name: Checkout
@ -213,6 +215,7 @@ jobs:
CFLAGS="-static" LDFLAGS="-static" meson --prefix=${HOME}/.local --buildtype release --default-library static build
ninja -C build && ninja -C build install
linux-acr-deb-64:
if: contains(github.ref, 'master') || contains(github.ref, 'ci-')
runs-on: ubuntu-18.04
steps:
- name: Checkout
@ -387,6 +390,7 @@ jobs:
# Mobile
ios-cydia32:
if: contains(github.ref, 'master') || contains(github.ref, 'ci-')
runs-on: macos-latest
steps:
- uses: actions/checkout@v2

View File

@ -8,6 +8,7 @@ on:
jobs:
w32-mingw:
if: contains(github.ref, 'master') || contains(github.ref, 'ci-')
name: w32-mingw
runs-on: ubuntu-20.04
steps:
@ -74,7 +75,7 @@ jobs:
cd prefix\bin
radare2 -v
w32-meson:
# if: contains(github.ref, 'master') || contains(github.ref, 'ci-')
if: contains(github.ref, 'master') || contains(github.ref, 'ci-')
runs-on: windows-2019
steps:
- name: Win configure Pagefile
@ -101,7 +102,7 @@ jobs:
run: |
.github\vsdevenv.ps1
meson --buildtype=release --prefix=$PWD\radare2-${{ steps.r2v.outputs.branch }}-w32 build
ninja -C build -j2 install
ninja -C build -j1 install
- name: Create zip artifact
run: 7z a radare2-${{ steps.r2v.outputs.branch }}-w32.zip $PWD\radare2-${{ steps.r2v.outputs.branch }}-w32
- uses: actions/upload-artifact@v2
@ -155,7 +156,7 @@ jobs:
bash sys/source_bat.bash 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat' "x86_64"
# meson_options: --default-library=shared|static -Dstatic_runtime=true --backend vs2019
meson --buildtype=release --prefix=$PWD\radare2-${{ steps.r2v.outputs.branch }}-w64 build
ninja -C build -j 2
ninja -C build -j 1
ninja -C build install
- name: Create zip artifact
run: 7z a radare2-${{ steps.r2v.outputs.branch }}-w64.zip $PWD\radare2-${{ steps.r2v.outputs.branch }}-w64

View File

@ -2,7 +2,7 @@
## Radare2: Unix-Like Reverse Engineering Framework
[![Latest packaged version](https://repology.org/badge/latest-versions/radare2.svg)](https://repology.org/project/radare2/versions) [![Tests Status](https://github.com/radareorg/radare2/workflows/CI/badge.svg?branch=master)](https://github.com/radareorg/radare2/actions/workflows/ci.yml?query=branch%3Amaster) [![freebsd](https://github.com/radareorg/radare2/actions/workflows/freebsd.yml/badge.svg)](https://github.com/radareorg/radare2/actions/workflows/freebsd.yml) [![windows](https://github.com/radareorg/radare2/actions/workflows/windows.yml/badge.svg)](https://github.com/radareorg/radare2/actions/workflows/windows.yml)
[![Latest packaged version](https://repology.org/badge/latest-versions/radare2.svg)](https://repology.org/project/radare2/versions) [![Tests Status](https://github.com/radareorg/radare2/workflows/CI/badge.svg?branch=master)](https://github.com/radareorg/radare2/actions/workflows/ci.yml?query=branch%3Amaster) [![freebsd](https://github.com/radareorg/radare2/actions/workflows/freebsd.yml/badge.svg)](https://github.com/radareorg/radare2/actions/workflows/freebsd.yml) [![windows](https://github.com/radareorg/radare2/actions/workflows/windows.yml/badge.svg)](https://github.com/radareorg/radare2/actions/workflows/windows.yml) [![tcc](https://github.com/radareorg/radare2/actions/workflows/tcc.yml/badge.svg?branch=master)](https://github.com/radareorg/radare2/actions/workflows/tcc.yml)
[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/741/badge)](https://bestpractices.coreinfrastructure.org/projects/741) [![Build Status](https://scan.coverity.com/projects/416/badge.svg)](https://scan.coverity.com/projects/416) [![Total alerts](https://img.shields.io/lgtm/alerts/g/radareorg/radare2.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/radareorg/radare2/alerts/)
See the [Releases](https://github.com/radareorg/radare2/releases) page for