Skip to content

Remove Travis CI configuration #45

Remove Travis CI configuration

Remove Travis CI configuration #45

Workflow file for this run

name: AnyMeal CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build-and-test:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: dependencies
run: sudo apt install -y flex googletest librecode-dev libsqlite3-dev qtbase5-dev-tools qttools5-dev-tools qtbase5-dev pkgconf
- name: autoreconf
run: ./autogen.sh
- name: configure
run: ./configure
- name: make
run: make
- name: check
run: make check
- name: distributable
run: make dist-xz
- name: upload
uses: actions/upload-artifact@v3
with:
name: anymeal-source
path: anymeal-*.tar.xz
windows-installer:
runs-on: windows-2019
defaults:
run:
shell: msys2 {0}
steps:
- uses: actions/checkout@v3
- uses: msys2/setup-msys2@v2
with:
release: false
install: >-
mingw-w64-x86_64-gcc mingw-w64-x86_64-make autoconf automake make flex bison git libtool
mingw-w64-x86_64-sqlite3 mingw-w64-x86_64-gtest mingw-w64-x86_64-recode mingw-w64-x86_64-qt5-base
mingw-w64-x86_64-qt5-svg mingw-w64-x86_64-qt5-tools mingw-w64-x86_64-pkgconf mingw-w64-x86_64-nsis
mingw-w64-x86_64-icu mingw-w64-x86_64-libiconv mingw-w64-x86_64-pcre mingw-w64-x86_64-pcre2
- name: autoreconf
run: ./autogen.sh
- name: configure
run: ./configure.mingw
- name: make
run: make
- name: check
run: make check
- name: nsis
run: makensis anymeal.nsi
- name: upload
uses: actions/upload-artifact@v3
with:
name: anymeal-installer
path: anymeal-installer-*.exe