-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (36 loc) · 822 Bytes
/
c.yml
File metadata and controls
45 lines (36 loc) · 822 Bytes
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
name: C CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
container:
image: execb5/chip8-builder:latest
steps:
- uses: actions/checkout@v2
- name: Cache Compiled code
uses: actions/cache@v2
with:
key: ${{ runner.os }}-compiled
path: |
./obj
- name: make
run: make
test:
needs: build
runs-on: ubuntu-latest
container:
image: execb5/chip8-builder:latest
steps:
- uses: actions/checkout@v2
- name: Cache Compiled code
uses: actions/cache@v2
with:
key: ${{ runner.os }}-compiled
path: |
./obj
- name: make run_test
run: export LD_LIBRARY_PATH=/usr/local/lib:${LD_LIBRARY_PATH} && make run_test