-
Notifications
You must be signed in to change notification settings - Fork 30
87 lines (87 loc) · 2.23 KB
/
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
name: test
on: [ push, pull_request ]
jobs:
windows-x86:
name: windows (x86)
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: actboy168/setup-luamake@master
- run: luamake -arch x86
windows-x86_64:
name: windows (x86_64)
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: actboy168/setup-luamake@master
- run: luamake -arch x86_64
windows-mingw:
name: windows (mingw)
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4
with:
path: luamake
repository: actboy168/luamake
submodules : recursive
- uses: msys2/setup-msys2@v2
with:
update: true
install: >-
mingw-w64-x86_64-gcc
mingw-w64-x86_64-ninja
- shell: msys2 {0}
working-directory: luamake
run: ./compile/build.sh notest
- shell: msys2 {0}
run: ./luamake/luamake
macos-x86_64:
name: macos (x86_64)
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: actboy168/setup-luamake@master
- run: luamake -arch x86_64
macos-arm64:
name: macos (arm64)
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- uses: actboy168/setup-luamake@master
- run: luamake -arch arm64
linux-x86_64:
name: linux (x86_64)
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: actboy168/setup-luamake@master
- run: luamake
- run: luamake lua test/glibc-version.lua
linux:
strategy:
fail-fast: false
matrix:
arch: [aarch64, armv7, riscv64]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4
with:
path: luamake
repository: actboy168/luamake
submodules : recursive
- uses: uraimo/run-on-arch-action@v2
with:
arch: ${{ matrix.arch }}
distro: ubuntu20.04
dockerRunArgs: |
--volume "${PWD}:/actboy168"
install: |
apt-get update -q -y
apt-get install -q -y gcc g++ ninja-build
run: |
pushd luamake
./compile/build.sh notest
popd
./luamake/luamake