3 Commits

Author SHA1 Message Date
Pavel Kulyov
63801b47b2 deps: lock versions
All checks were successful
Sex CI / build-linux (pull_request) Successful in 7m12s
2026-09-18 00:37:56 +03:00
Pavel Kulyov
82d9402857 readme: update installation docs
Some checks failed
Sex CI / build-linux (pull_request) Failing after 3m56s
2026-09-18 00:27:08 +03:00
Pavel Kulyov
22936e68e3 infra: pepper some GNU on top of Makefile 2026-09-18 00:27:07 +03:00
2 changed files with 17 additions and 7 deletions

View File

@@ -57,9 +57,20 @@ jobs:
hash -r
csc -version
# Eggs are pinned in eggs.lock and installed by the Makefile into .eggs/.
- name: Install eggs
run: |
set -eu
mkdir -p .eggs
repo="$(chicken-install -repository)"
echo "CHICKEN_INSTALL_REPOSITORY=${PWD}/.eggs" >> "$GITHUB_ENV"
echo "CHICKEN_REPOSITORY_PATH=${PWD}/.eggs:${repo}" >> "$GITHUB_ENV"
export CHICKEN_INSTALL_REPOSITORY="${PWD}/.eggs"
export CHICKEN_REPOSITORY_PATH="${PWD}/.eggs:${repo}"
# shellcheck disable=SC2046
chicken-install $(cat dependencies.txt)
- name: Build sexc
run: make && ./sexc --help
run: make sexc && ./sexc --help
- name: Run tests
run: make check
run: make run-tests

View File

@@ -100,7 +100,7 @@ check-modules: sexc
check-exit-code: sexc
@$(MAKE) --no-print-directory -C ./tests/exit-code check SEXC=../../sexc
check run-tests: sexc sex-tests sextest
run-tests: sexc sex-tests sextest
./sex-tests && ./sextest --sexc=./sexc $(SEX_TEST_PROGRAMS:%=./tests/sex-programs/%.sex) && $(MAKE) check-modules && $(MAKE) check-exit-code
install: all installdirs
@@ -145,6 +145,5 @@ clean:
deps-clean:
rm -rf $(EGGS_DIR)
.PHONY: all check run-tests check-modules check-exit-code \
install install-strip installdirs uninstall \
deps deps-update deps-clean clean sex-tests sextest
.PHONY: all check run-tests check-modules check-exit-code install install-strip installdirs
uninstall deps deps-update clean depsclean sex-tests sextest