-
-
Notifications
You must be signed in to change notification settings - Fork 144
39 lines (36 loc) · 1.11 KB
/
all.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
name: Build and Test
on: [push, pull_request]
jobs:
ubuntu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: sudo apt-get install ccache libfuse3-dev build-essential flex bison gperf libncurses5-dev libncursesw5-dev gawk libmpfr-dev libgpm-dev zlib1g-dev yasm graphviz
- run: pip3 install sh
- run: ./bootstrap.sh
- run: cd test && ./test.sh --keep-going
# Currently bootstrap.sh is not supported on Windows, since build.sh is not supported on Windows.
# However, when it is, this commented-out github action below can be used.
# windows:
# runs-on: windows-latest
# defaults:
# run:
# shell: msys2 {0}
# steps:
# - uses: msys2/setup-msys2@v2
# with:
# msystem: MINGW64
# update: true
# install: >-
# base-devel
# - uses: actions/checkout@v2
# - run: ./bootstrap.sh
# - run: cd test && ./test.sh --keep-going
# macos:
# runs-on: macos-latest
# steps:
# - uses: actions/checkout@v2
# - run: brew install macfuse ccache
# - run: pip3 install sh
# - run: ./bootstrap.sh
# - run: cd test && ./test.sh --keep-going