Skip to content

Commit

Permalink
ci: use var in step name
Browse files Browse the repository at this point in the history
  • Loading branch information
inkydragon committed Jan 17, 2024
1 parent 26f0638 commit a34821a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/cross.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
jobs:
build-cross-qemu:
runs-on: ubuntu-latest
name: build-cross-qemu-$ARCH
name: build-cross-qemu-${{ matrix.config.arch }}
strategy:
fail-fast: false
matrix:
Expand All @@ -32,18 +32,18 @@ jobs:
DEB=`curl -s $QEMU_SRC/ | grep -o -E 'href="([^"#]+)"' | cut -d'"' -f2 | grep $QEMU_VER | tail -1`
wget $QEMU_SRC/$DEB
sudo dpkg -i $DEB
- name: Install toolchain gcc-$TRIPLE
- name: Install toolchain gcc-${{ matrix.config.triple }}
run: |
sudo apt update
sudo apt install gcc-$TRIPLE -y
- name: Build with $TRIPLE-gcc
- name: Build with ${{ matrix.config.triple }}-gcc
run: |
make ARCH=$ARCH TOOLPREFIX=$TRIPLE-
make -C test ARCH=$ARCH TOOLPREFIX=$TRIPLE-
- name: Test
env:
QEMU_EXEC: qemu-$ARCH-static
CROSS_LIB: /usr/$TRIPLE
QEMU_EXEC: qemu-${{ matrix.config.arch }}-static
CROSS_LIB: /usr/${{ matrix.config.triple }}
run: |
$QEMU_EXEC -L . -L $CROSS_LIB/ test/test-float
$QEMU_EXEC -L . -L $CROSS_LIB/ test/test-double

0 comments on commit a34821a

Please sign in to comment.