Reference matrix variables properly
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
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 4f7d64f..f353f17 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -79,7 +79,7 @@ jobs:
./.ci/build.sh
build-cfarm:
- name: Build & test on the GCC Compiler Farm
+ name: Build & test on the GCC Compile Farm
runs-on: ubuntu-latest
strategy:
@@ -101,6 +101,9 @@ jobs:
- CFARM_HOST: gcc91.fsffrance.org
CFARM_PORT: 22
CFARM_ARCH: RISCV64
+ - CFARM_HOST: gcc103.fsffrance.org
+ CFARM_PORT: 22
+ CFARM_ARCH: Aarch64 M1
steps:
@@ -117,10 +120,10 @@ jobs:
- name: SSH Remote Commands
uses: appleboy/ssh-action@v0.1.5
with:
- host: ${CFARM_HOST}
+ host: ${{ matrix.CFARM_HOST }}
username: ${{ secrets.CFARM_USERNAME }}
key: ${{ secrets.CFARM_KEY }}
- port: ${CFARM_PORT}
+ port: ${{ matrix.CFARM_PORT }}
script: |
rm -rf actions
mkdir actions
@@ -128,20 +131,20 @@ jobs:
- name: Copy source to remote server
uses: appleboy/scp-action@master
with:
- host: ${CFARM_HOST}
+ host: ${{ matrix.CFARM_HOST }}
username: ${{ secrets.CFARM_USERNAME }}
key: ${{ secrets.CFARM_KEY }}
- port: ${CFARM_PORT}
+ port: ${{ matrix.CFARM_PORT }}
source: "*"
target: "actions"
- name: SSH Remote Commands
uses: appleboy/ssh-action@v0.1.5
with:
- host: ${CFARM_HOST}
+ host: ${{ matrix.CFARM_HOST }}
username: ${{ secrets.CFARM_USERNAME }}
key: ${{ secrets.CFARM_KEY }}
- port: ${CFARM_PORT}
+ port: ${{ matrix.CFARM_PORT }}
script: |
ls -l
cd actions