Skip to content

Commit 63e6f17

Browse files
author
Daniel Zagaynov
committed
Add action for the freshest libxcrypt
1 parent 73ab338 commit 63e6f17

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
# Check that the freshest version of pyxcrypt
3+
# is compatible with the freshest version of libxcrypt
4+
name: Check against upstream
5+
on:
6+
schedule:
7+
- cron: '0 7 * * *'
8+
9+
jobs:
10+
check_development:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
fail-fast: false
14+
steps:
15+
- uses: actions/checkout@v5
16+
with:
17+
ref: development_kewl_future
18+
- run: sudo apt-get update
19+
- run: sudo apt-get install autoconf automake gcc git meson libtool pkg-config cmake python3-dev libltdl-dev
20+
- name: Clone libxcrypt
21+
# Here should be upstream repo
22+
run: git -C /tmp clone https://github.com/kotopesutility/libxcrypt.git
23+
- name: Checkout on develop
24+
run: git -C /tmp/libxcrypt checkout develop
25+
- name: Configure
26+
run: cd /tmp/libxcrypt && sh autogen.sh && ./configure --enable-hashes=all && cd $OLDPWD
27+
- name: Build libxcrypt
28+
run: make -j4 -C /tmp/libxcrypt
29+
- name: Install it
30+
run: sudo make install -C /tmp/libxcrypt
31+
- name:
32+
run: meson --libdir=/usr/local/lib/ --includedir=/usr/local/include linux_build
33+
- name: Run tests
34+
run: LD_LIBRARY_PATH=/usr/local/lib meson test -C linux_build --verbose
35+
- name: Print log on failure
36+
run: cat linux_build/meson-logs/testlog.txt

0 commit comments

Comments
 (0)