test: Add freq# decode function #156
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: Build | |
on: | |
push: | |
branches: | |
- '**' | |
tags: | |
- '**' | |
pull_request: | |
branches: | |
- master | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
build: | |
name: Build ${{ github.repository }} with Idris2 latest | |
runs-on: ubuntu-latest | |
env: | |
PACK_DIR: /root/.pack | |
strategy: | |
fail-fast: false | |
container: ghcr.io/stefan-hoeck/idris2-pack:latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: | | |
apt-get update | |
apt-get install --yes librtlsdr-dev librtlsdr0 pkg-config | |
- name: Build lib | |
run: pack --no-prompt install rtlsdr | |
- name: Run test | |
run: LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/__w/idris2-rtlsdr/idris2-rtlsdr/lib pack --no-prompt test rtlsdr |