fix #1
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: Demo Build | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
demo-build: | |
name: Demo Build | |
runs-on: ubuntu-2022 | |
steps: | |
- name: Set env | |
run: | | |
sudo apt update | |
sudo apt install build-essential clang flex bison g++ gawk \ | |
gcc-multilib g++-multilib gettext git libncurses5-dev libssl-dev \ | |
python3-setuptools rsync swig unzip zlib1g-dev file wget | |
git clone --depth=1 https://github.com/openwrt/openwrt | |
cp ./.config ./openwrt/ | |
pwd | |
- name: Build | |
run: | | |
cd openwrt | |
make | |
- name: package | |
run: | | |
ls |