-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (29 loc) · 810 Bytes
/
c-cpp.yml
File metadata and controls
33 lines (29 loc) · 810 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
name: C/C++ CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: install LLVM
run: sudo apt-get --assume-yes install llvm-14 llvm-14-dev llvm-14-tools
- uses: actions/checkout@v2
with:
submodules: recursive
- name: print path
run: pwd
- name: list root dir
run: ls
- name: list submodules dirs
run: ls submodules/*
- name: configure
run: |
echo "LIBFLEXPATH=$GITHUB_WORKSPACE/submodules/libflex" > config.local
echo "CONFIGPATH=$GITHUB_WORKSPACE/submodules/libflex" >> config.local
echo "OSTYPE=linux" >> config.local
echo "MACHTYPE=x86_64" >> config.local
- name: make
run: make LLVM_CONFIG=llvm-config-14