Skip to content

Commit 7e902c3

Browse files
committed
LLVM -> 14.0.1
also update build config: - ubuntu: clang 13 -> 14 - mac: os 10.15 -> 11 - windows: os 2019 -> 2022 - update actions versions - update pre-commit
1 parent dfaa332 commit 7e902c3

File tree

3 files changed

+22
-22
lines changed

3 files changed

+22
-22
lines changed

.github/workflows/release.yml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Release Builds
33
on: push
44

55
env:
6-
LLVM_VERSION: "14.0.0"
6+
LLVM_VERSION: "14.0.1"
77

88
jobs:
99
linux:
@@ -21,28 +21,28 @@ jobs:
2121
run:
2222
shell: bash
2323
steps:
24-
- name: Add llvm repo for clang 13 & install
24+
- name: Add llvm repo for clang 14 & install
2525
run: |
2626
sudo wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
27-
sudo add-apt-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-13 main"
27+
sudo add-apt-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-14 main"
2828
sudo apt update -yy
29-
sudo apt install -yy clang-13
29+
sudo apt install -yy clang-14
3030
- name: Set clang version
3131
run: |
3232
sudo update-alternatives --remove-all clang || echo "nothing to remove"
3333
sudo update-alternatives --remove-all clang++ || echo "nothing to remove"
34-
sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-13 100
35-
sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-13 100
34+
sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-14 100
35+
sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-14 100
3636
- uses: actions/checkout@v3
3737
- name: Build script
3838
run: ./build.sh
39-
- uses: actions/upload-artifact@v2
39+
- uses: actions/upload-artifact@v3
4040
with:
4141
path: ./artefacts/*
4242

4343
macos:
4444
name: MacOS
45-
runs-on: macos-10.15
45+
runs-on: macos-11
4646
env:
4747
INSTALL_PREFIX: "/opt/smelibs"
4848
SUDO_CMD: "sudo"
@@ -57,13 +57,13 @@ jobs:
5757
- uses: actions/checkout@v3
5858
- name: Build script
5959
run: ./build.sh
60-
- uses: actions/upload-artifact@v2
60+
- uses: actions/upload-artifact@v3
6161
with:
6262
path: ./artefacts/*
6363

6464
win64-mingw:
6565
name: Windows 64-bit Mingw
66-
runs-on: windows-2019
66+
runs-on: windows-2022
6767
env:
6868
INSTALL_PREFIX: "/c/smelibs"
6969
SUDO_CMD: ""
@@ -82,13 +82,13 @@ jobs:
8282
install: mingw-w64-x86_64-gcc mingw-w64-x86_64-cmake mingw-w64-x86_64-python make
8383
- name: Build script
8484
run: ./build.sh
85-
- uses: actions/upload-artifact@v2
85+
- uses: actions/upload-artifact@v3
8686
with:
8787
path: ./artefacts/*
8888

8989
win32-mingw:
9090
name: Windows 32-bit Mingw
91-
runs-on: windows-2019
91+
runs-on: windows-2022
9292
env:
9393
INSTALL_PREFIX: "/c/smelibs"
9494
SUDO_CMD: ""
@@ -107,13 +107,13 @@ jobs:
107107
install: mingw-w64-i686-gcc mingw-w64-i686-cmake mingw-w64-i686-python make
108108
- name: Build script
109109
run: ./build.sh
110-
- uses: actions/upload-artifact@v2
110+
- uses: actions/upload-artifact@v3
111111
with:
112112
path: ./artefacts/*
113113

114114
win64-msvc:
115115
name: Windows 64-bit MSVC
116-
runs-on: windows-2019
116+
runs-on: windows-2022
117117
env:
118118
INSTALL_PREFIX: 'C:\smelibs'
119119
TARGET_TRIPLE: "x86_64-pc-windows-gnu"
@@ -126,13 +126,13 @@ jobs:
126126
toolset: 14.0
127127
- name: Build script
128128
run: ./build.ps1
129-
- uses: actions/upload-artifact@v2
129+
- uses: actions/upload-artifact@v3
130130
with:
131131
path: ./artefacts/*
132132

133133
win32-msvc:
134134
name: Windows 32-bit MSVC
135-
runs-on: windows-2019
135+
runs-on: windows-2022
136136
env:
137137
INSTALL_PREFIX: 'C:\smelibs'
138138
TARGET_TRIPLE: "i686-pc-windows-gnu"
@@ -145,7 +145,7 @@ jobs:
145145
toolset: 14.0
146146
- name: Build script
147147
run: ./build.ps1
148-
- uses: actions/upload-artifact@v2
148+
- uses: actions/upload-artifact@v3
149149
with:
150150
path: ./artefacts/*
151151

@@ -156,7 +156,7 @@ jobs:
156156
# upload binaries to github release if commit is tagged
157157
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/')
158158
steps:
159-
- uses: actions/download-artifact@v2
159+
- uses: actions/download-artifact@v3
160160
with:
161161
name: artifact
162162
path: binaries

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v4.1.0
3+
rev: v4.2.0
44
hooks:
55
- id: check-yaml
66
- id: end-of-file-fixer

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# sme_deps_llvm [![Release Builds](https://github.com/spatial-model-editor/sme_deps_llvm/actions/workflows/release.yml/badge.svg)](https://github.com/spatial-model-editor/sme_deps_llvm/actions/workflows/release.yml)
22

3-
[LLVM](https://llvm.org/) core 14.0.0 statically compiled for linux/osx/windows.
3+
[LLVM](https://llvm.org/) core 14.0.1 statically compiled for linux/osx/windows.
44

55
Get the latest versions here:
66

7-
- linux (clang 13 / Ubuntu 18.04): [sme_deps_llvm_linux.tgz](https://github.com/spatial-model-editor/sme_deps_llvm/releases/latest/download/sme_deps_llvm_linux.tgz)
8-
- osx (Apple clang 12 / macOS 10.15): [sme_deps_llvm_osx.tgz](https://github.com/spatial-model-editor/sme_deps_llvm/releases/latest/download/sme_deps_llvm_osx.tgz)
7+
- linux (clang 14 / Ubuntu 18.04): [sme_deps_llvm_linux.tgz](https://github.com/spatial-model-editor/sme_deps_llvm/releases/latest/download/sme_deps_llvm_linux.tgz)
8+
- osx (Apple clang 13 / macOS 11): [sme_deps_llvm_osx.tgz](https://github.com/spatial-model-editor/sme_deps_llvm/releases/latest/download/sme_deps_llvm_osx.tgz)
99
- win32-mingw (mingw-w64-i686-gcc 11): [sme_deps_llvm_win32-mingw.tgz](https://github.com/spatial-model-editor/sme_deps_llvm/releases/latest/download/sme_deps_llvm_win32-mingw.tgz)
1010
- win64-mingw (mingw-w64-x86_64-gcc 11): [sme_deps_llvm_win64-mingw.tgz](https://github.com/spatial-model-editor/sme_deps_llvm/releases/latest/download/sme_deps_llvm_win64-mingw.tgz)
1111
- win32-msvc (VC++ 2015 Toolset): [sme_deps_llvm_win32-msvc.tgz](https://github.com/spatial-model-editor/sme_deps_llvm/releases/latest/download/sme_deps_llvm_win32-msvc.tgz)

0 commit comments

Comments
 (0)