Fix operators to compare numerically, not lexicographically #45
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: | |
💀 Linux Tomb | |
on: | |
push: | |
paths-ignore: | |
- 'doc/**' | |
- 'portable/**' | |
- '*.md' | |
branches: | |
- master | |
pull_request: | |
paths-ignore: | |
- 'doc/**' | |
- 'portable/**' | |
- '*.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: | |
- 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 KDF extras | |
run: | | |
make --directory=extras/kdf-keys | |
sudo make --directory=extras/kdf-keys install | |
- name: Disable swap | |
run: sudo swapoff -a | |
- name: Run main tests | |
run: sudo make test | |
- name: Run KDF tests | |
run: sudo make -C extras/kdf-keys test |