Merge branch 'master' of github.com:travisdoor/bl #693
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: Linux | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build-debug: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Download LLVM | |
run: | | |
wget https://apt.llvm.org/llvm.sh | |
chmod +x llvm.sh | |
sudo ./llvm.sh 18 | |
- name: Setup | |
run: | | |
cmake . -DCMAKE_BUILD_TYPE=Debug | |
- name: Compile | |
run: cmake --build . --config Debug | |
- name: Run tests | |
run: ./bin/blc -run doctor.bl | |
build-release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Download LLVM | |
run: | | |
wget https://apt.llvm.org/llvm.sh | |
chmod +x llvm.sh | |
sudo ./llvm.sh 18 | |
- name: Setup | |
run: | | |
cmake . -DCMAKE_BUILD_TYPE=Release -DBL_ASSERT_ENABLE=ON | |
- name: Compile | |
run: cmake --build . --config Release | |
- name: Run tests | |
run: ./bin/blc -run doctor.bl |