Try multiple hosts
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index b89ecb6..425a179 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -78,14 +78,29 @@ jobs:
./.ci/install.sh
./.ci/build.sh
- build-aarch64:
- name: Build & test on Aarch64
+ build-cfarm:
+ name: Build & test on the GCC Compiler Farm
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
- platform: [ubuntu-latest]
+ include:
+ - CFARM_HOST: ${{ secrets.AARCH_HOST }}
+ CFARM_PORT: ${{ secrets.AARCH_PORT }}
+ CFARM_ARCH: Aarch64
+ - CFARM_HOST: ${{ secrets.LOONGARCH64_HOST }}
+ CFARM_PORT: ${{ secrets.LOONGARCH64_PORT }}
+ CFARM_ARCH: Loongarch64
+ - CFARM_HOST: ${{ secrets.MIPS64_HOST }}
+ CFARM_PORT: ${{ secrets.MIPS64_PORT }}
+ CFARM_ARCH: MIPS64
+ - CFARM_HOST: ${{ secrets.SPARC64_HOST }}
+ CFARM_PORT: ${{ secrets.SPARC64_PORT }}
+ CFARM_ARCH: SPARC64
+ - CFARM_HOST: ${{ secrets.RISCV64_HOST }}
+ CFARM_PORT: ${{ secrets.RISCV64_PORT }}
+ CFARM_ARCH: RISCV64
steps:
@@ -102,33 +117,31 @@ jobs:
- name: SSH Remote Commands
uses: appleboy/ssh-action@v0.1.5
with:
- host: ${{ secrets.AARCH_HOST }}
+ host: ${CFARM_HOST}
username: ${{ secrets.CFARM_USERNAME }}
key: ${{ secrets.CFARM_KEY }}
- port: ${{ secrets.AARCH_PORT }}
+ port: ${CFARM_PORT}
script: |
rm -rf actions
mkdir actions
- ls -l
- pwd
- name: Copy source to remote server
uses: appleboy/scp-action@master
with:
- host: ${{ secrets.AARCH_HOST }}
+ host: ${CFARM_HOST}
username: ${{ secrets.CFARM_USERNAME }}
key: ${{ secrets.CFARM_KEY }}
- port: ${{ secrets.AARCH_PORT }}
+ port: ${CFARM_PORT}
source: "*"
target: "actions"
- name: SSH Remote Commands
uses: appleboy/ssh-action@v0.1.5
with:
- host: ${{ secrets.AARCH_HOST }}
+ host: ${CFARM_HOST}
username: ${{ secrets.CFARM_USERNAME }}
key: ${{ secrets.CFARM_KEY }}
- port: ${{ secrets.AARCH_PORT }}
+ port: ${CFARM_PORT}
script: |
ls -l
cd actions