rizin/.github/workflows/debianold.yml
2020-07-06 14:01:12 +08:00

43 lines
1.2 KiB
YAML

name: Debian OLD (Jessie) test
on:
push:
branches:
- 'pre-release*'
- 'prerelease*'
- 'release-*'
- 'debian*'
schedule:
- cron: '0 18 * * 1,3,5' # Three-weekly at 18:00 UTC on Monday, Wednesday, and Friday
jobs:
build:
name: debian-8-build
runs-on: ubuntu-latest
container: debian:jessie
steps:
- name: Install tools
run: apt-get update && apt-get install --yes patch unzip git gcc make curl pkg-config python3
- name: Checkout r2
run: |
git clone https://github.com/${{ github.repository }}
cd radare2
git fetch origin ${{ github.ref }}
git checkout -b local_branch FETCH_HEAD
- name: Checkout our Testsuite Binaries
uses: actions/checkout@v2
with:
repository: radareorg/radare2-testbins
path: test/bins
- name: Configure with ACR and build
run: ./configure --prefix=/usr && make
working-directory: radare2
- name: Install with make
run: make install
working-directory: radare2
- name: Run tests
run: cd test && make
working-directory: radare2
env:
PKG_CONFIG_PATH: /usr/lib/x86_64-linux-gnu/pkgconfig