From 2352b0c6ff7545aa5f4e1b415c141fe12bd63ea3 Mon Sep 17 00:00:00 2001 From: "Ycarus (Yannick Chabanois)" Date: Fri, 11 Sep 2020 11:00:01 +0200 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f22b73a04..56030f19c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,13 +1,15 @@ name: Build OpenMPTCProuter on: [push] +env: + REPO_URL: https://github.com/ysurac/openmptcprouter + REPO_BRANCH: develop + OMR_TARGET: x86_64 + jobs: build: runs-on: ubuntu-latest - strategy: - matrix: - OMR_TARGET: ['x86_64'] steps: - name: Prepare @@ -23,7 +25,6 @@ jobs: - name: Build toolchain working-directory: ./openmptcprouter env: - OMR_TARGET: ${{matrix.OMR_TARGET}} OMR_FEED_URL: https://github.com/ysurac/openmptcprouter-feeds OMR_FEED_SRC: develop run: | @@ -33,9 +34,9 @@ jobs: - name: Build packages working-directory: ./openmptcprouter run: | - make IGNORE_ERRORS=m package/{compile,install,index} -j$(nproc) + make IGNORE_ERRORS=m -C $OMR_TARGET/source package/{compile,install,index} -j$(nproc) - name: Build image working-directory: ./openmptcprouter run: | - make IGNORE_ERRORS=m target/install -j$(nproc) + make IGNORE_ERRORS=m -C $OMR_TARGET/source target/install -j$(nproc)