Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master' into feature/fast_float
Browse files Browse the repository at this point in the history
  • Loading branch information
HertzDevil committed Nov 19, 2024
2 parents 14a5b47 + 5e02cd4 commit 729fe45
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/mingw-w64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,13 @@ jobs:
- name: Download Crystal source
uses: actions/checkout@v4

- name: Install LLVM 18
- name: Install LLVM
run: |
_llvm_major=$(wget -qO- https://raw.githubusercontent.com/msys2/MINGW-packages/refs/heads/master/mingw-w64-llvm/PKGBUILD | grep '_version=' | sed -E 's/_version=([0-9]+).*/\1/')
sudo apt remove 'llvm-*' 'libllvm*'
wget -qO- https://apt.llvm.org/llvm-snapshot.gpg.key | sudo tee /etc/apt/trusted.gpg.d/apt.llvm.org.asc
sudo apt-add-repository -y deb http://apt.llvm.org/noble/ llvm-toolchain-noble-18 main
sudo apt install -y llvm-18-dev
sudo apt-add-repository -y deb http://apt.llvm.org/noble/ llvm-toolchain-noble-${_llvm_major} main
sudo apt install -y llvm-${_llvm_major}-dev
- name: Install Crystal
uses: crystal-lang/install-crystal@v1
Expand Down

0 comments on commit 729fe45

Please sign in to comment.