Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to '.github/workflows/release.yaml')
-rw-r--r--.github/workflows/release.yaml13
1 files changed, 11 insertions, 2 deletions
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index 4e62f2cde2..abc0a34c5e 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -5,6 +5,8 @@ on:
workflow_dispatch:
+ pull_request:
+
push:
branches:
- release
@@ -36,6 +38,9 @@ jobs:
- os: ubuntu-18.04
target: aarch64-unknown-linux-gnu
code-target: linux-arm64
+ - os: ubuntu-18.04
+ target: arm-unknown-linux-gnueabihf
+ code-target: linux-armhf
- os: macos-11
target: x86_64-apple-darwin
code-target: darwin-x64
@@ -67,13 +72,17 @@ jobs:
node-version: 14.x
- name: Update apt repositories
- if: matrix.target == 'aarch64-unknown-linux-gnu'
+ if: matrix.target == 'aarch64-unknown-linux-gnu' || matrix.target == 'gcc-arm-linux-gnueabihf'
run: sudo apt-get update
- - name: Install target toolchain
+ - name: Install AArch64 target toolchain
if: matrix.target == 'aarch64-unknown-linux-gnu'
run: sudo apt-get install gcc-aarch64-linux-gnu
+ - name: Install ARM target toolchain
+ if: matrix.target == 'gcc-arm-linux-gnueabihf'
+ run: sudo apt-get install gcc-arm-linux-gnueabihf
+
- name: Dist
run: cargo xtask dist --client-patch-version ${{ github.run_number }}