forked from laurikari/tre
-
-
Notifications
You must be signed in to change notification settings - Fork 1
43 lines (33 loc) · 967 Bytes
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Build and test tre
on:
push:
branches:
# Run workflow on every push
- '**' # matches every branch
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
permissions:
contents: read
jobs:
Test:
runs-on: ubuntu-latest
steps:
- name: Install prerequisites
run: sudo apt-get install -y autoconf automake gettext libtool zip autopoint
# The test need en_US.ISO-8859-1 locale enabled
- name: Set locale
run: |
sudo sed -i '/en_US ISO-8859-1/s/^#//g' /etc/locale.gen
sudo locale-gen
sudo update-locale LANG=en_US.ISO-8859-1
- name: Checkout repository
uses: actions/[email protected]
- name: Prepare tre
run: ./utils/autogen.sh
- name: Build
run: |
./configure
make
make check