aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick O'Neill <patrick@rivosinc.com>2023-06-05 09:22:21 -0700
committerPatrick O'Neill <patrick@rivosinc.com>2023-06-05 09:22:21 -0700
commit9f73648a47d92fb4b0487e5825f6095ad61a7f9f (patch)
tree336539c0b0bcb044fa129a00b5d9dba08842e870
parentce6d6ccc492bb17c375e6cac13510181c9afd084 (diff)
downloadriscv-gnu-toolchain-9f73648a47d92fb4b0487e5825f6095ad61a7f9f.zip
riscv-gnu-toolchain-9f73648a47d92fb4b0487e5825f6095ad61a7f9f.tar.gz
riscv-gnu-toolchain-9f73648a47d92fb4b0487e5825f6095ad61a7f9f.tar.bz2
Add gcc-linux builds back to release-ci
-rw-r--r--.github/workflows/nightly-release.yaml18
1 files changed, 11 insertions, 7 deletions
diff --git a/.github/workflows/nightly-release.yaml b/.github/workflows/nightly-release.yaml
index 347c74e..6d3a788 100644
--- a/.github/workflows/nightly-release.yaml
+++ b/.github/workflows/nightly-release.yaml
@@ -48,12 +48,17 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
- os: [ubuntu-20.04, ubuntu-22.04]
- mode: [newlib, linux, musl]
- target: [rv32gc-ilp32d, rv64gc-lp64d]
+ os: [ubuntu-20.04, ubuntu-22.04]
+ mode: [newlib, linux, musl]
+ target: [rv32gc-ilp32d, rv64gc-lp64d]
+ compiler: [gcc, llvm]
exclude:
- mode: musl
target: rv32gc-ilp32d
+ - mode: newlib
+ compiler: llvm
+ - mode: musl
+ compiler: llvm
steps:
- uses: actions/checkout@v2
@@ -64,18 +69,17 @@ jobs:
- name: install apt dependencies
run: sudo ./.github/setup-apt.sh
-
+
- name: build toolchain
run: |
TARGET_TUPLE=($(echo ${{ matrix.target }} | tr "-" "\n"))
BUILD_TOOLCHAIN="./configure --prefix=/opt/riscv --with-arch=${TARGET_TUPLE[0]} --with-abi=${TARGET_TUPLE[1]}"
- if [ "${{ matrix.mode }}" == "linux" ]; then # build toolchain with llvm
+ if [ "${{ matrix.compiler }}" == "llvm" ]; then # build toolchain with llvm
$BUILD_TOOLCHAIN --enable-llvm --enable-linux
- sudo make -j $(nproc) all
else
$BUILD_TOOLCHAIN
- sudo make -j $(nproc) ${{ matrix.mode }}
fi
+ sudo make -j $(nproc) ${{ matrix.mode }}
- name: build qemu
if: "${{ matrix.mode }}" == "linux"