Skip to content

Commit

Permalink
Merge pull request torvalds#156 from ojeda/ppc
Browse files Browse the repository at this point in the history
PowerPC: GCC, docs, release config, more CI, avoid recompilation of `rust/`...
  • Loading branch information
ojeda authored Apr 3, 2021
2 parents d8647ea + 02f9a2e commit c295df9
Show file tree
Hide file tree
Showing 6 changed files with 1,510 additions and 20 deletions.
21 changes: 9 additions & 12 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,29 +10,34 @@ jobs:

strategy:
matrix:
arch: [x86_64, arm64]
arch: [arm64, ppc64le, x86_64]
toolchain: [gcc, clang, llvm]
config: [debug, release]
rustc: [2021-02-20]
output: [src] # [src, build]
install: [rustup] # [rustup, standalone]
sysroot: [common] # [common, custom]

# Exclude `LLVM=1` where not supported.
exclude:
- arch: ppc64le
toolchain: llvm

# A few independent combinations to avoid exploding the matrix:
# - The other option for `output`.
# - Different nightlies for `rustc`.
# - The other three (`install`, `sysroot`) combinations
# (they are interrelated, so the cross-product needs to be tested)
include:
- arch: x86_64
- arch: arm64
toolchain: gcc
config: debug
rustc: 2021-02-20
output: build
install: rustup
sysroot: custom

- arch: arm64
- arch: ppc64le
toolchain: clang
config: release
rustc: 2021-02-20
Expand All @@ -48,14 +53,6 @@ jobs:
install: standalone
sysroot: custom

- arch: ppc64le
toolchain: clang
config: debug
rustc: 2021-02-20
output: src
install: rustup
sysroot: common

steps:
# Setup: checkout
- uses: actions/checkout@v2
Expand Down Expand Up @@ -122,7 +119,7 @@ jobs:
- if: matrix.arch == 'arm64'
run: sudo apt-get install -y qemu-system-arm
- if: matrix.arch == 'ppc64le'
run: sudo apt-get install -y qemu-system-ppc64
run: sudo apt-get install -y qemu-system-ppc

# Setup: rustc
- if: matrix.install == 'rustup'
Expand Down
Loading

0 comments on commit c295df9

Please sign in to comment.