Merge pull request #656 from phillipstanleymarbell/issue-655 #341
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |