-
-
Notifications
You must be signed in to change notification settings - Fork 8
48 lines (45 loc) · 979 Bytes
/
c-cpp.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
name: Github CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build_linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
id: cacher
name: cacher
with:
path: |
lua-all
lua-all.tar.gz
luajit-2.0
key: ${{ runner.os }}-cacher-1
restore-keys: |
${{ runner.os }}-cacher-1
- name: Build & Test Linux
run: ./.github/workflows/ci.linux.sh
shell: bash
build_mingw:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
id: cacher
name: cacher
with:
path: |
lua-all
lua-all.tar.gz
luajit-2.0
key: ${{ runner.os }}-cacher-1
restore-keys: |
${{ runner.os }}-cacher-1
- name: Build & Test Windows
run: call .github\workflows\ci.mingw.bat
shell: cmd