don't kick if data rate is at threshold #325
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build DAWN | |
on: | |
push: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
build: | |
name: build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
path: dawn | |
- name: Install dependencies | |
run: sudo apt install git subversion build-essential python3 gawk unzip libncurses5-dev zlib1g-dev libssl-dev wget time libncurses-dev | |
- name: Download OpenWrt SDK | |
run: curl -o openwrt-sdk.tar.xz https://downloads.openwrt.org/snapshots/targets/ath79/generic/openwrt-sdk-ath79-generic_gcc-12.3.0_musl.Linux-x86_64.tar.xz | |
- name: Extract OpenWrt SDK | |
run: tar xf openwrt-sdk.tar.xz && mv openwrt-sdk-ath79-generic_gcc-12.3.0_musl.Linux-x86_64 sdk | |
- name: Create config | |
run: make -C sdk defconfig && echo "CONFIG_SRC_TREE_OVERRIDE=y" >> sdk/.config | |
- name: Update package feed | |
run: ./sdk/scripts/feeds update -a && ./sdk/scripts/feeds install -a | |
- name: Link DAWN source | |
run: ln -s $GITHUB_WORKSPACE/dawn/.git sdk/feeds/packages/net/dawn/git-src | |
- name: Compile DAWN | |
run: make -C sdk package/dawn/{clean,compile} V=s | |
- name: Archive build output | |
uses: actions/upload-artifact@v1 | |
with: | |
name: output | |
path: sdk/bin/packages/mips_24kc/packages |