mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-15 03:51:51 +00:00
Update main.yml
This commit is contained in:
parent
3bdd3a16a2
commit
dc31522dfb
1 changed files with 7 additions and 4 deletions
11
.github/workflows/main.yml
vendored
11
.github/workflows/main.yml
vendored
|
@ -15,19 +15,22 @@ jobs:
|
|||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler
|
||||
- name: Clone source code
|
||||
env:
|
||||
REPO_URL: https://github.com/ysurac/openmptcprouter
|
||||
REPO_BRANCH: develop
|
||||
run: |
|
||||
git clone --depth 1 $REPO_URL -b $REPO_BRANCH openwrt
|
||||
- name: Build toolchain
|
||||
env:
|
||||
OMR_TARGET: ${{matrix.OMR_TARGET}}
|
||||
run: |
|
||||
git clone https://github.com/ysurac/openmptcprouter || true
|
||||
pwd
|
||||
ls
|
||||
cd openmptcprouter
|
||||
git checkout develop || true
|
||||
git pull || true
|
||||
export OMR_FEED_URL="https://github.com/ysurac/openmptcprouter-feeds"
|
||||
export OMR_FEED_SRC="develop"
|
||||
sh build.sh -j1 V=s
|
||||
sh build.sh -j$(nproc)
|
||||
#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
|
||||
|
||||
|
|
Loading…
Reference in a new issue