test pod #16
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: test-linux | |
on: | |
push: | |
branches: | |
- '**' | |
tags-ignore: | |
- '*' | |
pull_request: | |
jobs: | |
imager-zxing: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: install dependencies | |
run: | | |
sudo apt-get update ||: | |
sudo apt-get -y install build-essential libextutils-cppguess-perl | |
wget https://github.com/zxing-cpp/zxing-cpp/archive/refs/tags/v2.1.0.tar.gz | |
ls | |
tar xzf v2.1.0.tar.gz | |
ls | |
cd zxing-cpp-2.1.0 | |
mkdir build | |
cmake -B build && cd build && make && sudo make install | |
echo "LD_LIBRARY_PATH=$(pkg-config --variable=libdir zxing)" >>$GITHUB_ENV | |
sudo cpan Imager | |
- name: checkout | |
uses: actions/checkout@v2 | |
- name: configure | |
run: | | |
perl Makefile.PL | |
- name: build | |
run: | | |
make -j2 | |
- name: test | |
run: | | |
make test |