Skip to content

Commit

Permalink
[skip ci] Test RISC-V architecture.
Browse files Browse the repository at this point in the history
  • Loading branch information
s-trinh committed Sep 14, 2024
1 parent 98cfdd8 commit 90171c5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/other-arch-isolated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -33,27 +30,26 @@ 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:
- name: Checkout repository
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 }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ubuntu-dep-apt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ubuntu-dep-src.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 90171c5

Please sign in to comment.