Fix print_usage and man page mistakes #178
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: Tests | |
on: ['push', 'pull_request'] | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
compiler: [clang, gcc] | |
name: ${{ matrix.os }} (${{ matrix.compiler }}) | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install Dependencies (Linux) | |
if: ${{ matrix.os == 'ubuntu-latest' }} | |
run: | | |
sudo apt update -qq | |
sudo apt install -qq libcurl4-openssl-dev libzip-dev pkg-config | |
- name: Install Dependencies (MacOS) | |
if: ${{ matrix.os == 'macos-latest' }} | |
run: | | |
brew update | |
brew install curl libzip | |
- name: Compile | |
run: make V=1 DEBUG= CC=${{ matrix.compiler }} LD=${{ matrix.compiler }} | |
- name: Test printing tldr version | |
run: ./tldr --version | |
- name: Test printing tldr list | |
run: ./tldr --list | |
- name: Test printing tldr page | |
run: ./tldr tar |