source: appstream-generator/test/ci/build_and_test.sh @ 4841

Last change on this file since 4841 was 4841, checked in by Juanma, 2 years ago

Initial release

  • Property svn:executable set to *
File size: 373 bytes
Line 
1#!/bin/sh
2#
3# This script is supposed to run inside the AppStream Generator Docker container
4# on the CI system.
5#
6set -e
7export LANG=C.UTF-8
8
9echo "D compiler: $DC"
10set -v
11$DC --version
12meson --version
13
14#
15# Build & Test
16#
17mkdir -p build && cd build
18meson -Ddownload_js=true ..
19ninja
20
21# Run tests
22./asgen_test
23
24# Test install
25DESTDIR=/tmp/install-ninja ninja install
26cd ..
Note: See TracBrowser for help on using the repository browser.