diff options
author | Ayke van Laethem <[email protected]> | 2021-03-28 19:56:03 -0400 |
---|---|---|
committer | Ron Evans <[email protected]> | 2021-11-30 21:53:16 +0100 |
commit | 5127b9d65b132547d5b4c1a60a8be381871d8ac8 (patch) | |
tree | 669de102bb57f0e897514dde11d7c67fad0163b7 /.circleci | |
parent | 74b20ca234d901b5f9d4c202321a611ca60ee6a7 (diff) | |
download | tinygo-5127b9d65b132547d5b4c1a60a8be381871d8ac8.tar.gz tinygo-5127b9d65b132547d5b4c1a60a8be381871d8ac8.zip |
all: add LLVM 12 support
Originally based on a PR by @QuLogic, but extended a lot to get all
tests to pass.
Diffstat (limited to '.circleci')
-rw-r--r-- | .circleci/config.yml | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml index 52f4f33b6..f709e4a5d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -22,12 +22,12 @@ commands: steps: - restore_cache: keys: - - llvm-source-11-v2 + - llvm-source-12-v1 - run: name: "Fetch LLVM source" command: make llvm-source - save_cache: - key: llvm-source-11-v2 + key: llvm-source-12-v1 paths: - llvm-project/clang/lib/Headers - llvm-project/clang/include @@ -118,12 +118,12 @@ commands: - go-cache-macos-v3-{{ checksum "go.mod" }} - restore_cache: keys: - - llvm-source-11-macos-v3 + - llvm-source-12-macos-v1 - run: name: "Fetch LLVM source" command: make llvm-source - save_cache: - key: llvm-source-11-macos-v3 + key: llvm-source-12-macos-v1 paths: - llvm-project/clang/lib/Headers - llvm-project/clang/include @@ -131,7 +131,7 @@ commands: - llvm-project/llvm/include - restore_cache: keys: - - llvm-build-11-macos-v5 + - llvm-build-12-macos-v1 - run: name: "Build LLVM" command: | @@ -145,7 +145,7 @@ commands: find llvm-build -name CMakeFiles -prune -exec rm -r '{}' \; fi - save_cache: - key: llvm-build-11-macos-v5 + key: llvm-build-12-macos-v1 paths: llvm-build - restore_cache: @@ -205,12 +205,12 @@ jobs: steps: - test-linux: llvm: "11" - test-llvm11-go116: + test-llvm12-go116: docker: - image: circleci/golang:1.16-buster steps: - test-linux: - llvm: "11" + llvm: "12" build-macos: macos: xcode: "11.1.0" # macOS 10.14 @@ -223,5 +223,5 @@ workflows: test-all: jobs: - test-llvm11-go115 - - test-llvm11-go116 + - test-llvm12-go116 - build-macos |