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-22 08:39:47 +01:00 committed by GitHub
parent 61b4ffd3eb
commit b720248849
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
OMR_TARGET: ['x86_64','x86'] OMR_TARGET: ['x86_64']
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@ -19,14 +19,16 @@ jobs:
OMR_TARGET: ${{matrix.OMR_TARGET}} OMR_TARGET: ${{matrix.OMR_TARGET}}
run: | run: |
git clone https://github.com/ysurac/openmptcprouter || true git clone https://github.com/ysurac/openmptcprouter || true
pwd
ls
cd openmptcprouter cd openmptcprouter
git checkout ${{ env.GITHUB_REF }} || true git checkout ${{ env.GITHUB_REF }} || true
git pull || true git pull || true
export OMR_PATH="${{ env.GITHUB_REPOSITORY }}/${{ env.GITHUB_REF }}" export OMR_PATH="${{ env.GITHUB_REPOSITORY }}/${{ env.GITHUB_REF }}"
export OMR_FEED_URL="https://github.com/${{ env.GITHUB_REPOSITORY }}" export OMR_FEED_URL="https://github.com/${{ env.GITHUB_REPOSITORY }}"
export OMR_FEED_SRC="${{ env.GITHUB_REF }}" export OMR_FEED_SRC="${{ env.GITHUB_REF }}"
sudo apt-get update pwd
sudo apt-get install -yq libelf-dev ls
sh build.sh prepare {tools,toolchain}/install -j6 sh build.sh prepare {tools,toolchain}/install -j6
#echo -e "$OMR_PRIVKEY" > ~/openmptcprouter/${{ env.OMR_TARGET }}/source/key-build #echo -e "$OMR_PRIVKEY" > ~/openmptcprouter/${{ env.OMR_TARGET }}/source/key-build
#echo -e "$OMR_PUBKEY" > ~/openmptcprouter/${{ env.OMR_TARGET }}/source/key-build.pub #echo -e "$OMR_PUBKEY" > ~/openmptcprouter/${{ env.OMR_TARGET }}/source/key-build.pub