Tomb/.github/workflows/linux.yml

46 lines
1.2 KiB
YAML
Raw Normal View History

name:
2022-11-14 10:51:04 +00:00
💀 Linux Tomb
on:
push:
paths-ignore:
- 'doc/**'
- 'extras/portable/**'
- '*.md'
branches:
- master
pull_request:
2022-11-14 10:51:04 +00:00
paths-ignore:
- 'doc/**'
- 'extras/portable/**'
2022-11-14 10:51:04 +00:00
- '*.md'
branches:
- master
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true
jobs:
build-matrix:
strategy:
matrix:
os: [ubuntu-22.04, ubuntu-20.04]
runs-on: ${{ matrix.os }}
steps:
2022-11-13 23:25:58 +00:00
- name: Install tomb dependencies
run: |
sudo apt-get update -y -q
sudo apt-get install -y -q zsh cryptsetup gpg gawk libgcrypt20-dev steghide qrencode python2 python3-pip python3-dev libssl-dev make gcc sudo gettext bsdmainutils file pinentry-curses xxd libsodium23 libsodium-dev
- uses: actions/checkout@v3
- name: Build the pbkdf2 extras
run: |
make --directory=extras/kdf-keys
sudo make --directory=extras/kdf-keys install
- name: Run pbkdf2 tests
run: sudo make -C extras/kdf-keys test
- name: Disable swap
run: sudo swapoff -a
- name: Run main tests
run: sudo make test