cmake(ci): rework toolchain target
* Add toolchain_ prefix to avoid conflict with "platform" targets * Update workflows * Fix mipsel/mips64el target in cross_compile.sh
This commit is contained in:
24
.github/workflows/aarch64_toolchain.yml
vendored
24
.github/workflows/aarch64_toolchain.yml
vendored
@@ -2,22 +2,22 @@ name: aarch64 Toolchain
|
||||
|
||||
on: [push, pull_request, workflow_dispatch]
|
||||
|
||||
# Building using the github runner environement directly.
|
||||
jobs:
|
||||
# Building using the github runner environement directly.
|
||||
aarch64:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
targets: [
|
||||
[aarch64], # bootlin
|
||||
[aarch64be] # bootlin
|
||||
]
|
||||
targets: [aarch64, aarch64be]
|
||||
fail-fast: false
|
||||
env:
|
||||
TARGET: ${{ matrix.targets[0] }}
|
||||
name: Linux • Toolchain ${{ matrix.targets }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Build
|
||||
run: make --directory=cmake ${TARGET}_build
|
||||
- name: Test
|
||||
run: make --directory=cmake ${TARGET}_test
|
||||
- name: Build env stage
|
||||
run: make --directory=cmake toolchain_${{ matrix.targets }}_env
|
||||
- name: Build devel stage
|
||||
run: make --directory=cmake toolchain_${{ matrix.targets }}_devel
|
||||
- name: Build build stage
|
||||
run: make --directory=cmake toolchain_${{ matrix.targets }}_build
|
||||
- name: Build Test stage
|
||||
run: make --directory=cmake toolchain_${{ matrix.targets }}_test
|
||||
|
||||
24
.github/workflows/mips_toolchain.yml
vendored
24
.github/workflows/mips_toolchain.yml
vendored
@@ -2,22 +2,22 @@ name: mips Toolchain
|
||||
|
||||
on: [push, pull_request, workflow_dispatch]
|
||||
|
||||
# Building using the github runner environement directly.
|
||||
jobs:
|
||||
# Building using the github runner environement directly.
|
||||
mips:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
targets: [
|
||||
[mips64],
|
||||
[mips64el]
|
||||
]
|
||||
targets: [mips64, mips64el]
|
||||
fail-fast: false
|
||||
env:
|
||||
TARGET: ${{ matrix.targets[0] }}
|
||||
name: Linux • Toolchain ${{ matrix.targets }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Build
|
||||
run: make --directory=cmake ${TARGET}_build
|
||||
- name: Test
|
||||
run: make --directory=cmake ${TARGET}_test
|
||||
- name: Build env stage
|
||||
run: make --directory=cmake toolchain_${{ matrix.targets }}_env
|
||||
- name: Build devel stage
|
||||
run: make --directory=cmake toolchain_${{ matrix.targets }}_devel
|
||||
- name: Build build stage
|
||||
run: make --directory=cmake toolchain_${{ matrix.targets }}_build
|
||||
- name: Build Test stage
|
||||
run: make --directory=cmake toolchain_${{ matrix.targets }}_test
|
||||
|
||||
24
.github/workflows/powerpc_toolchain.yml
vendored
24
.github/workflows/powerpc_toolchain.yml
vendored
@@ -2,22 +2,22 @@ name: powerpc Toolchain
|
||||
|
||||
on: [push, pull_request, workflow_dispatch]
|
||||
|
||||
# Building using the github runner environement directly.
|
||||
jobs:
|
||||
# Building using the github runner environement directly.
|
||||
powerpc:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
targets: [
|
||||
[ppc64],
|
||||
[ppc64le],
|
||||
]
|
||||
targets: [ppc64, ppc64le]
|
||||
fail-fast: false
|
||||
env:
|
||||
TARGET: ${{ matrix.targets[0] }}
|
||||
name: Linux • Toolchain ${{ matrix.targets }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Build
|
||||
run: make --directory=cmake ${TARGET}_build
|
||||
- name: Test
|
||||
run: make --directory=cmake ${TARGET}_test
|
||||
- name: Build env stage
|
||||
run: make --directory=cmake toolchain_${{ matrix.targets }}_env
|
||||
- name: Build devel stage
|
||||
run: make --directory=cmake toolchain_${{ matrix.targets }}_devel
|
||||
- name: Build build stage
|
||||
run: make --directory=cmake toolchain_${{ matrix.targets }}_build
|
||||
- name: Build Test stage
|
||||
run: make --directory=cmake toolchain_${{ matrix.targets }}_test
|
||||
|
||||
Reference in New Issue
Block a user