1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00
This commit is contained in:
Ycarus (Yannick Chabanois) 2020-02-23 09:50:53 +01:00 committed by GitHub
parent 12d31836c2
commit 63dc2fb69d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,14 +5,14 @@ on: [push]
jobs:
build:
runs-on: ubuntu-16.04
runs-on: ubuntu-latest
strategy:
matrix:
OMR_TARGET: ['x86_64','x86']
steps:
- name: Prepare
run: sudo apt-get install -yq build-essential git unzip ncurses-dev libz-dev libssl-dev python subversion gettext gawk wget curl rsync perl libelf-dev python3.5 libpython3.5-stdlib liblzma-dev
run: sudo apt-get install -yq build-essential git unzip ncurses-dev libz-dev libssl-dev python subversion gettext gawk wget curl rsync perl libelf-dev python3 libpython3-stdlib liblzma-dev
- name: Build toolchain
env:
OMR_TARGET: ${{matrix.OMR_TARGET}}
@ -21,13 +21,12 @@ jobs:
pwd
ls
cd openmptcprouter
git checkout ${{ github.sha }} || true
git checkout develop || true
git pull || true
export OMR_FEED_URL="https://github.com/ysurac/openmptcprouter-feeds"
export OMR_FEED_SRC="${{ github.sha }}"
export OMR_FEED_SRC="develop"
pwd
ls
pyenv global 3.5.2
sh build.sh prepare {tools,toolchain}/install -j6
#echo -e "$OMR_PRIVKEY" > /home/runner/work/openmptcprouter-feeds/openmptcprouter-feeds/openmptcprouter/${{ env.OMR_TARGET }}/source/key-build
#echo -e "$OMR_PUBKEY" > /home/runner/work/openmptcprouter-feeds/openmptcprouter-feeds/openmptcprouter/${{ env.OMR_TARGET }}/source/key-build.pub