Skip to content

Commit

Permalink
Fix CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
marcauberer committed Jul 15, 2021
1 parent 56b05c8 commit 4d098e9
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Cache LLVM and Clang
- name: Cache LLVM
id: cache-llvm
uses: actions/cache@v2
with:
Expand All @@ -33,7 +33,6 @@ jobs:
cd ./llvm-project-llvmorg-12.0.1/build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_CXX_FLAGS_RELEASE="-O2" -G "Unix Makefiles" ../llvm
cmake --build .
export LLVM_DIR=/home/runner/work/spice/llvm/llvm-project-llvmorg-12.0.1/build/lib/cmake/llvm
- name: Download Libs
run: |
Expand All @@ -43,6 +42,8 @@ jobs:
git clone https://github.com/antlr/antlr4.git
- name: Build
env:
LLVM_DIR: /home/runner/work/spice/llvm/llvm-project-llvmorg-12.0.1/build/lib/cmake/llvm
run: |
mkdir bin
cd bin
Expand Down
4 changes: 2 additions & 2 deletions compiler/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ set(SOURCES
analyzer/SymbolTable.h
analyzer/SymbolTableEntry.cpp
analyzer/SymbolTableEntry.h
ir/GeneratorVisitor.cpp
ir/GeneratorVisitor.h
generator/GeneratorVisitor.cpp
generator/GeneratorVisitor.h
exception/SemanticError.cpp
exception/SemanticError.h
exception/IRError.cpp
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion compiler/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include "SpiceLexer.h"
#include "SpiceParser.h"
#include "analyzer/AnalyzerVisitor.h"
#include "ir/GeneratorVisitor.h"
#include "generator/GeneratorVisitor.h"

using namespace antlr4;

Expand Down

0 comments on commit 4d098e9

Please sign in to comment.