|
| 1 | +name: Build/Test/Deploy arm64 |
| 2 | + |
| 3 | +on: |
| 4 | + push: |
| 5 | + branches: |
| 6 | + - master |
| 7 | + tags: |
| 8 | + - v[0-9]+.[0-9]+.[0-9]+ |
| 9 | + - v[0-9]+.[0-9]+.[0-9]+.[0-9]+ |
| 10 | + pull_request: |
| 11 | + |
| 12 | +jobs: |
| 13 | + run-scripts: |
| 14 | + runs-on: ubuntu-24.04-arm |
| 15 | + strategy: |
| 16 | + # Don't cancel the remaining running jobs if some job(s) fail(s) |
| 17 | + fail-fast: false |
| 18 | + matrix: |
| 19 | + image: ['rockylinux:8'] |
| 20 | + components: ['udt,myproxy,ssh', 'gram5'] |
| 21 | + # Ignore UDT for the CentOS Stream 9 case because libnice is not available there yet |
| 22 | + include: |
| 23 | + - image: 'quay.io/centos/centos:stream9' |
| 24 | + components: 'myproxy,ssh' |
| 25 | + - image: 'quay.io/centos/centos:stream9' |
| 26 | + components: 'gram5' |
| 27 | + - image: 'quay.io/centos/centos:stream10' |
| 28 | + components: 'myproxy,ssh' |
| 29 | + - image: 'quay.io/centos/centos:stream10' |
| 30 | + components: 'gram5' |
| 31 | + - image: 'rockylinux:9' |
| 32 | + components: 'myproxy,ssh' |
| 33 | + - image: 'rockylinux:9' |
| 34 | + components: 'gram5' |
| 35 | + - image: 'rockylinux/rockylinux:10' |
| 36 | + components: 'myproxy,ssh' |
| 37 | + - image: 'rockylinux/rockylinux:10' |
| 38 | + components: 'gram5' |
| 39 | + steps: |
| 40 | + - uses: actions/checkout@v3 |
| 41 | + with: |
| 42 | + fetch-depth: 0 |
| 43 | + |
| 44 | + - name: build/test on ${{ matrix.image }} with ${{ matrix.components }} |
| 45 | + env: |
| 46 | + IMAGE: ${{ matrix.image }} |
| 47 | + TASK: tests |
| 48 | + COMPONENTS: ${{ matrix.components }} |
| 49 | + run: travis-ci/setup_tasks.sh |
| 50 | + |
| 51 | + - name: build source tarballs and srpms |
| 52 | + # Run this step for all OS cases but for only one component selection each, |
| 53 | + # it still builds **all** source tarballs and SRPMs |
| 54 | + if: | |
| 55 | + contains(matrix.components , 'gram5') |
| 56 | + env: |
| 57 | + IMAGE: ${{ matrix.image }} |
| 58 | + TASK: srpms |
| 59 | + run: travis-ci/setup_tasks.sh |
0 commit comments