mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-03 20:22:38 +00:00
Add CI test to ensure symlink reinstalls work (#18252) ##build
This commit is contained in:
parent
39f5b12b8f
commit
c3f7d0e1d1
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
@ -29,6 +29,18 @@ jobs:
|
||||
# uses: actions/upload-artifact@v2
|
||||
# with:
|
||||
# path: radare2_dist/*
|
||||
build-resymlink:
|
||||
name: linux-acr-resymlink
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Installing with symlinks
|
||||
run: sys/install.sh
|
||||
- name: Uninstalling
|
||||
run: sudo make uninstall
|
||||
- name: Reinstalling without symlinks
|
||||
run: sudo make install
|
||||
build-spaces:
|
||||
name: linux-meson-spaces
|
||||
continue-on-error: true
|
||||
|
1
Makefile
1
Makefile
@ -286,6 +286,7 @@ deinstall uninstall:
|
||||
cd libr && ${MAKE} uninstall
|
||||
cd binr && ${MAKE} uninstall
|
||||
cd shlr && ${MAKE} uninstall
|
||||
cd libr/util/d && ${MAKE} uninstall
|
||||
cd libr/syscall/d && ${MAKE} uninstall
|
||||
cd libr/anal/d && ${MAKE} uninstall
|
||||
@echo
|
||||
|
@ -20,6 +20,9 @@ install:
|
||||
cp "${CWD}/$$FILE" "${R2_CHARSETS_PATH}/$$FILE" ; \
|
||||
done
|
||||
|
||||
uninstall:
|
||||
rm -rf "$(R2_CHARSETS_PATH)"
|
||||
|
||||
symstall install-symlink:
|
||||
mkdir -p "$(R2_CHARSETS_PATH)"
|
||||
for FILE in *.sdb ; do \
|
||||
|
Loading…
x
Reference in New Issue
Block a user