try to use matrix.target to name release package.

This commit is contained in:
snmsts 2024-10-14 14:05:17 +09:00
parent beb2bad2fd
commit dbb6e5894e
3 changed files with 4 additions and 3 deletions

View file

@ -17,8 +17,8 @@ jobs:
# set default docker platform and image suffix.
- {docker-platform: linux/amd64 ,docker-image-suffix: '', makeopts: musl }
- {target: arm64 ,docker-platform: linux/arm64 ,docker-image-suffix: 'aarch64' }
- {image: deb, makeopts: deb, target: x86-64 }
- {image: pandoc, makeopts: docs, target: x86-64 }
- {image: deb, makeopts: deb, target: x86-64 ,docker-platform: linux/arm64}
- {image: pandoc, makeopts: docs, target: x86-64 ,docker-platform: linux/arm64}
environment: SET_VERSION

View file

@ -29,6 +29,7 @@ jobs:
CFLAGS: -mmacosx-version-min=10.9
CXXFLAGS: -mmacosx-version-min=10.9
LDFLAGS: -mmacosx-version-min=10.9
ARCH: ${{ matrix.target }}
run: |
gcc -v
./bootstrap

View file

@ -131,7 +131,7 @@ brewpr:
git pull
if [ `uname` = 'Darwin' ];then brew bump-formula-pr -v --url=https://github.com/roswell/roswell/archive/`git describe --abbrev=0 --tags`.tar.gz roswell; fi
PACK = $(PACKAGE)-$(VERSION)-$(shell uname -s | tr '[A-Z]' '[a-z]' | sed -E 's/([^-]*).*/\1/')-$(shell uname -m)$(SBCL_BIN_VARIANT)
PACK = $(PACKAGE)-$(VERSION)-$(shell uname -s | tr '[A-Z]' '[a-z]' | sed -E 's/([^-]*).*/\1/')-$(ARCH)$(SBCL_BIN_VARIANT)
roswell/Makefile:
rm -rf roswell