From 90171c51e883b91a7498677b40525ffa94e05ae1 Mon Sep 17 00:00:00 2001 From: Souriya Trinh Date: Sun, 15 Sep 2024 01:41:17 +0200 Subject: [PATCH] [skip ci] Test RISC-V architecture. --- .github/workflows/other-arch-isolated.yml | 12 ++++-------- .github/workflows/ubuntu-dep-apt.yml | 3 +++ .github/workflows/ubuntu-dep-src.yml | 3 +++ 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/other-arch-isolated.yml b/.github/workflows/other-arch-isolated.yml index 236400d624..fe2d8396c0 100644 --- a/.github/workflows/other-arch-isolated.yml +++ b/.github/workflows/other-arch-isolated.yml @@ -16,9 +16,6 @@ concurrency: jobs: build-other-architectures-isolated: - # https://michaelcurrin.github.io/dev-cheatsheets/cheatsheets/ci-cd/github-actions/skip.html - # https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/using-conditions-to-control-job-execution - if: ${{ ! contains(github.event.commits[0].message, '[quick ci]') && !contains(github.event.head_commit.message, '[quick ci]') }} # The host should always be linux runs-on: ubuntu-22.04 name: Build on ${{ matrix.distro }} ${{ matrix.arch }} ${{ matrix.endianness }} @@ -33,19 +30,18 @@ jobs: # target: ARMV6 - arch: armv7 distro: ubuntu22.04 - target: ARMV7 endianness: (Little Endian) - arch: aarch64 distro: ubuntu22.04 #fedora_latest - target: ARMV8 + endianness: (Little Endian) + - arch: riscv64 + distro: ubuntu_latest endianness: (Little Endian) - arch: ppc64le distro: ubuntu22.04 - target: POWER8 endianness: (Little Endian) - arch: s390x distro: ubuntu22.04 - target: Z13 endianness: (Big Endian) steps: @@ -53,7 +49,7 @@ jobs: uses: actions/checkout@v4 - name: Run on arch - uses: uraimo/run-on-arch-action@v2.2.1 + uses: uraimo/run-on-arch-action@v2.7.2 with: githubToken: ${{ github.token }} arch: ${{ matrix.arch }} diff --git a/.github/workflows/ubuntu-dep-apt.yml b/.github/workflows/ubuntu-dep-apt.yml index a6d23f30dd..6bd4d66786 100644 --- a/.github/workflows/ubuntu-dep-apt.yml +++ b/.github/workflows/ubuntu-dep-apt.yml @@ -14,6 +14,9 @@ concurrency: cancel-in-progress: true jobs: + # https://michaelcurrin.github.io/dev-cheatsheets/cheatsheets/ci-cd/github-actions/skip.html + # https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/using-conditions-to-control-job-execution + if: ${{ ! contains(github.event.commits[0].message, '[quick ci]') && !contains(github.event.head_commit.message, '[quick ci]') }} build-ubuntu-dep-apt: runs-on: ${{ matrix.os }} strategy: diff --git a/.github/workflows/ubuntu-dep-src.yml b/.github/workflows/ubuntu-dep-src.yml index 8132a7216d..677ec0cbad 100644 --- a/.github/workflows/ubuntu-dep-src.yml +++ b/.github/workflows/ubuntu-dep-src.yml @@ -19,6 +19,9 @@ env: jobs: build-ubuntu-dep-src: + # https://michaelcurrin.github.io/dev-cheatsheets/cheatsheets/ci-cd/github-actions/skip.html + # https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/using-conditions-to-control-job-execution + if: ${{ ! contains(github.event.commits[0].message, '[quick ci]') && !contains(github.event.head_commit.message, '[quick ci]') }} runs-on: ${{ matrix.os }} strategy: fail-fast: false