Fix AppStream lint problems #41
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: CI | |
on: [push, pull_request] | |
jobs: | |
ubuntu2204: | |
name: "Ubuntu 22.04" | |
runs-on: ubuntu-22.04 | |
if: "!contains(github.event.head_commit.message, '[skip ci]')" | |
steps: | |
- uses: actions/checkout@v2 | |
- name: dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install g++ libz-dev libboost-dev libwxgtk3.0-gtk3-dev swig libxy-dev liblua5.3-dev lua5.3 | |
curl -LsS -o tests/catch.hpp https://github.com/philsquared/Catch/releases/download/v1.10.0/catch.hpp | |
- name: build | |
run: | | |
g++ --version | |
autoreconf -i | |
./configure LUA=/usr/bin/lua5.3 LUA_INCLUDE=-I/usr/include/lua5.3 LUA_LIB=-llua5.3 | |
make -j2 | |
sudo make install | |
- name: test | |
run: | | |
make -j2 check | |
export LD_LIBRARY_PATH=/usr/local/lib | |
cfityk --version | |
clang39: | |
name: "Ubuntu 18.04, Clang" | |
runs-on: ubuntu-18.04 | |
if: "!contains(github.event.head_commit.message, '[skip ci]')" | |
env: | |
CC: clang | |
CXX: clang++ | |
steps: | |
- uses: actions/checkout@v2 | |
- name: dependencies | |
run: | | |
sudo apt-get install clang cmake libz-dev libboost-dev liblua5.2-dev lua5.2 | |
- name: build | |
run: | | |
$CXX --version | |
cmake --version | |
cmake . -DDOWNLOAD_XYLIB=ON -DDOWNLOAD_LUA=OFF -DDOWNLOAD_ZLIB=OFF | |
make VERBOSE=1 | |
sudo make install | |
- name: test | |
run: | | |
export LD_LIBRARY_PATH=/usr/local/lib | |
cfityk --version |