Skip to content

Commit d41baf5

Browse files
author
Daniel Zagaynov
committed
Add github action for testing on different versions of ubuntu
1 parent 6e3e683 commit d41baf5

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

.github/workflows/cross.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
name: check_on_linux
3+
on: [push, pull_request]
4+
5+
jobs:
6+
check_development:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
fail-fast: false
10+
matrix:
11+
release:
12+
- bionic
13+
- focal
14+
- jammy
15+
- noble
16+
- plucky
17+
- questing
18+
steps:
19+
- run: sudo apt-get update
20+
- run: sudo apt-get install libcrypt-dev python3 meson git
21+
- name: Clone sources
22+
run: git -C /tmp clone https://github.com/altlinux/pyxcrypt.git
23+
- name: Checkout
24+
run: git -C /tmp/pyxcrypt checkout development
25+
- name: Prepare
26+
run: cd /tmp/pyxcrypt && meson linux_build
27+
- name: Run tests
28+
run: meson test -C /tmp/pyxcrypt/linux_build
29+
- name: Print log on failure
30+
if: failure()
31+
run: cat /tmp/pyxcrypt/linux_build/meson-logs/testlog.txt

0 commit comments

Comments
 (0)