about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJonas Schievink <jonas.schievink@ferrous-systems.com>2022-08-01 14:26:20 +0200
committerJonas Schievink <jonas.schievink@ferrous-systems.com>2022-08-01 14:26:20 +0200
commit9c960731dee5692bf9dcd34d4d040ed357faf8e9 (patch)
treec082352c0a8051486382401cd14e5938179c5745
parent5edbdd127a59ed79bf9381a4005efb4e7bcb262b (diff)
downloadrust-9c960731dee5692bf9dcd34d4d040ed357faf8e9.tar.gz
rust-9c960731dee5692bf9dcd34d4d040ed357faf8e9.zip
Publish extension for 32-bit ARM systems
-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 4e62f2cde27..abc0a34c5ee 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 }}