mirror of
https://github.com/iustin/mt-st.git
synced 2026-01-11 22:12:49 +00:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
aec3bd67f6 | ||
|
|
52a6c218b9 | ||
|
|
4a72962872 |
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@@ -33,6 +33,9 @@ jobs:
|
||||
- name: Build the code
|
||||
run: make
|
||||
|
||||
- name: Install dependencies
|
||||
run: sudo apt-get install -yy shelltestrunner
|
||||
|
||||
- name: Test creating the release archive
|
||||
run: make distcheck
|
||||
|
||||
|
||||
@@ -1,5 +1,14 @@
|
||||
# Changelog
|
||||
|
||||
## Changes in version 1.6 (Wed, 19 Apr 2023)
|
||||
|
||||
This is bugfix release agains 1.5. In between 1.4 and 1.5, the "make
|
||||
check" target was migrated to using
|
||||
[shelltest](https://github.com/simonmichael/shelltestrunner), but the
|
||||
`make dist` and `distcheck` targets were no, so the built archive was
|
||||
actually not. This only fixes that and has no functional code changes
|
||||
from 1.5.
|
||||
|
||||
## Changes in version 1.5 (Wed, 19 Apr 2023)
|
||||
|
||||
Trivial release:
|
||||
|
||||
17
Makefile
17
Makefile
@@ -28,7 +28,10 @@ DISTFILES = \
|
||||
.dir-locals.el \
|
||||
.clang-format
|
||||
|
||||
VERSION=1.5
|
||||
TESTFILES = $(wildcard tests/*.test)
|
||||
TESTDATAFILES = $(wildcard tests/data/*.data)
|
||||
|
||||
VERSION=1.6
|
||||
RELEASEDIR=mt-st-$(VERSION)
|
||||
TARFILE=mt-st-$(VERSION).tar.gz
|
||||
|
||||
@@ -58,7 +61,10 @@ dist:
|
||||
trap "rm -rf $$BASE" EXIT && \
|
||||
DIST="$$BASE/$(RELEASEDIR)" && \
|
||||
mkdir "$$DIST" && \
|
||||
$(INSTALL) -m 0644 -p -t "$$DIST/" $(DISTFILES) && \
|
||||
mkdir "$$DIST/tests" && mkdir "$$DIST/tests/data" && \
|
||||
$(INSTALL) -m 0644 -p -t "$$DIST/" $(DISTFILES) && \
|
||||
$(INSTALL) -m 0644 -p -t "$$DIST/tests" $(TESTFILES) && \
|
||||
$(INSTALL) -m 0644 -p -t "$$DIST/tests/data" $(TESTDATAFILES) && \
|
||||
tar czvf $(TARFILE) -C "$$BASE" \
|
||||
--owner root --group root \
|
||||
$(RELEASEDIR)
|
||||
@@ -71,12 +77,7 @@ distcheck: dist
|
||||
tar xvf $(TARFILE) -C "$$SRC" && \
|
||||
cd "$$SRC/$(RELEASEDIR)" && \
|
||||
make CFLAGS="-Wall -Wextra -Werror" && \
|
||||
echo Checking version output && \
|
||||
./mt --version && ./stinit --version && \
|
||||
echo Checking parse status && \
|
||||
./stinit -p -f stinit.def.examples && \
|
||||
echo Checking complete stinit parsing && \
|
||||
( ./stinit -v -v -p -f stinit.def.examples 2>&1 | grep -q 'Mode 1 definition: scsi2logical=1 can-bsr=1 auto-lock=0 two-fms=0 drive-buffering=1 buffer-writes read-ahead=1 async-writes=1 can-partitions=0 fast-eom=1 blocksize=0 sili=1 timeout=900 long-timeout=14400 density=0x44 compression=0' ) && \
|
||||
make check && \
|
||||
make dist && \
|
||||
make install DESTDIR="$$DST" && \
|
||||
numfiles=$$( \
|
||||
|
||||
Reference in New Issue
Block a user