aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorLaytan <laytanlaats@hotmail.com>2025-04-02 21:13:10 +0200
committerLaytan <laytanlaats@hotmail.com>2025-04-02 21:13:10 +0200
commitb0316b7076c9954383574f65fc135db16f17c1c0 (patch)
treeb07f3ba5f2402b2d4011e32dec94031529516c38 /.github
parent5eaff20f4a672760b4d90d596dd46be132634f41 (diff)
ci: update to LLVM 20 on MacOS and Linux CI and releases
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml8
-rw-r--r--.github/workflows/nightly.yml14
2 files changed, 11 insertions, 11 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index ede32f093..15bfe81cf 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -93,14 +93,14 @@ jobs:
- name: Download LLVM (MacOS Intel)
if: matrix.os == 'macos-13'
run: |
- brew install llvm@18 lua@5.4
- echo "/usr/local/opt/llvm@18/bin" >> $GITHUB_PATH
+ brew install llvm@20 lua@5.4 lld
+ echo "/usr/local/opt/llvm@20/bin" >> $GITHUB_PATH
- name: Download LLVM (MacOS ARM)
if: matrix.os == 'macos-14'
run: |
- brew install llvm@18 wasmtime lua@5.4
- echo "/opt/homebrew/opt/llvm@18/bin" >> $GITHUB_PATH
+ brew install llvm@20 wasmtime lua@5.4 lld
+ echo "/opt/homebrew/opt/llvm@20/bin" >> $GITHUB_PATH
- name: Build Odin
run: ./build_odin.sh release
diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml
index 314711efb..dfacc2712 100644
--- a/.github/workflows/nightly.yml
+++ b/.github/workflows/nightly.yml
@@ -49,12 +49,12 @@ jobs:
- uses: actions/checkout@v4
- uses: jirutka/setup-alpine@v1
with:
- branch: v3.20
+ branch: edge
- name: (Linux) Download LLVM
run: |
apk add --no-cache \
- musl-dev llvm18-dev clang18 git mold lz4 \
- libxml2-static llvm18-static zlib-static zstd-static \
+ musl-dev llvm20-dev clang20 git mold lz4 \
+ libxml2-static llvm20-static zlib-static zstd-static \
make
shell: alpine.sh --root {0}
- name: build odin
@@ -93,8 +93,8 @@ jobs:
- uses: actions/checkout@v4
- name: Download LLVM and setup PATH
run: |
- brew install llvm@18 dylibbundler
- echo "/usr/local/opt/llvm@18/bin" >> $GITHUB_PATH
+ brew install llvm@20 dylibbundler lld
+ echo "/usr/local/opt/llvm@20/bin" >> $GITHUB_PATH
- name: build odin
# These -L makes the linker prioritize system libraries over LLVM libraries, this is mainly to
# not link with libunwind bundled with LLVM but link with libunwind on the system.
@@ -130,8 +130,8 @@ jobs:
- uses: actions/checkout@v4
- name: Download LLVM and setup PATH
run: |
- brew install llvm@18 dylibbundler
- echo "/opt/homebrew/opt/llvm@18/bin" >> $GITHUB_PATH
+ brew install llvm@20 dylibbundler lld
+ echo "/opt/homebrew/opt/llvm@20/bin" >> $GITHUB_PATH
- name: build odin
# These -L makes the linker prioritize system libraries over LLVM libraries, this is mainly to
# not link with libunwind bundled with LLVM but link with libunwind on the system.