Skip to content

Commit

Permalink
Ref: Add Multiple Arch [not tested]
Browse files Browse the repository at this point in the history
  • Loading branch information
lolo6oT authored Jan 24, 2024
1 parent 795c3c4 commit 6191046
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/openwrt-awg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
ref: v${{ matrix.tag }}
fetch-depth: 0

- name: Update and install feeds for OpenWRT_v${{ matrix.tag }}
- name: Update and install feeds for OpenWRT_v${{ matrix.tag }} ${{ matrix.build_env.target}}/${{ matrix.build_env.subtarget}}
run: |
pkgarch=${{ matrix.build_env.pkgarch}}
target=${{ matrix.build_env.target}}
Expand All @@ -41,11 +41,11 @@ jobs:
./scripts/feeds update -a
./scripts/feeds install -a
wget https://downloads.openwrt.org/releases/${{ matrix.tag }}/targets/mediatek/filogic/config.buildinfo -O .config
wget https://downloads.openwrt.org/releases/${{ matrix.tag }}/targets/${target}/${subtarget}/config.buildinfo -O .config
make defconfig
- name: Make Download and World OpenWRT_v${{ matrix.tag }}
- name: Make Download and World OpenWRT_v${{ matrix.tag }} ${{ matrix.build_env.target}}/${{ matrix.build_env.subtarget}}
run: |
export FORCE_UNSAFE_CONFIGURE=1
echo "CONFIG_PACKAGE_kmod-amneziawg=m" >> .config
Expand All @@ -57,14 +57,14 @@ jobs:
make -j $(nproc) download world
- name: Make ipks amnezia_${{ github.ref_name }} for original OpenWRT_v${{ matrix.tag }}
- name: Make ipks amnezia_${{ github.ref_name }} for original OpenWRT_v${{ matrix.tag }} ${{ matrix.build_env.target}}/${{ matrix.build_env.subtarget}}
run: |
make -j $(nproc) package/amnezia-wg-tools/{clean,download,prepare,compile}
make -j $(nproc) package/amneziawg-go/{clean,download,prepare,compile}
make -j $(nproc) package/kmod-amneziawg/{clean,download,prepare,compile}
make -j $(nproc) package/luci-app-amneziawg/{clean,download,prepare,compile}
- name: Prepare artifacts OpenWRT_v${{ matrix.tag }}
- name: Prepare artifacts OpenWRT_v${{ matrix.tag }} ${{ matrix.build_env.target}}/${{ matrix.build_env.subtarget}}
run: |
tag_name=${{ github.ref_name }}
mkdir -p awgrelease
Expand Down

0 comments on commit 6191046

Please sign in to comment.