diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build-macos.yml | 10 | ||||
-rw-r--r-- | .github/workflows/linux.yml | 12 | ||||
-rw-r--r-- | .github/workflows/llvm.yml | 4 | ||||
-rw-r--r-- | .github/workflows/nix.yml | 2 | ||||
-rwxr-xr-x | .github/workflows/sizediff-install-pkgs.sh | 10 | ||||
-rw-r--r-- | .github/workflows/sizediff.yml | 2 | ||||
-rw-r--r-- | .github/workflows/windows.yml | 4 |
7 files changed, 22 insertions, 22 deletions
diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml index 1fefa27bf..7acd2e5b7 100644 --- a/.github/workflows/build-macos.yml +++ b/.github/workflows/build-macos.yml @@ -43,7 +43,7 @@ jobs: uses: actions/cache/restore@v4 id: cache-llvm-source with: - key: llvm-source-17-${{ matrix.os }}-v2 + key: llvm-source-18-${{ matrix.os }}-v2 path: | llvm-project/clang/lib/Headers llvm-project/clang/include @@ -68,7 +68,7 @@ jobs: uses: actions/cache/restore@v4 id: cache-llvm-build with: - key: llvm-build-17-${{ matrix.os }}-v2 + key: llvm-build-18-${{ matrix.os }}-v2 path: llvm-build - name: Build LLVM if: steps.cache-llvm-build.outputs.cache-hit != 'true' @@ -128,7 +128,7 @@ jobs: runs-on: macos-latest strategy: matrix: - version: [16, 17] + version: [16, 17, 18] steps: - name: Set up Homebrew uses: Homebrew/actions/setup-homebrew@master @@ -152,8 +152,8 @@ jobs: - name: Check binary run: tinygo version - name: Build TinyGo (default LLVM) - if: matrix.version == 17 + if: matrix.version == 18 run: go install - name: Check binary - if: matrix.version == 17 + if: matrix.version == 18 run: tinygo version diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index c1529aa8a..38f0d92f5 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -43,7 +43,7 @@ jobs: uses: actions/cache/restore@v4 id: cache-llvm-source with: - key: llvm-source-17-linux-alpine-v2 + key: llvm-source-18-linux-alpine-v1 path: | llvm-project/clang/lib/Headers llvm-project/clang/include @@ -68,7 +68,7 @@ jobs: uses: actions/cache/restore@v4 id: cache-llvm-build with: - key: llvm-build-17-linux-alpine-v2 + key: llvm-build-18-linux-alpine-v1 path: llvm-build - name: Build LLVM if: steps.cache-llvm-build.outputs.cache-hit != 'true' @@ -196,7 +196,7 @@ jobs: uses: actions/cache/restore@v4 id: cache-llvm-source with: - key: llvm-source-17-linux-asserts-v2 + key: llvm-source-18-linux-asserts-v1 path: | llvm-project/clang/lib/Headers llvm-project/clang/include @@ -221,7 +221,7 @@ jobs: uses: actions/cache/restore@v4 id: cache-llvm-build with: - key: llvm-build-17-linux-asserts-v2 + key: llvm-build-18-linux-asserts-v1 path: llvm-build - name: Build LLVM if: steps.cache-llvm-build.outputs.cache-hit != 'true' @@ -309,7 +309,7 @@ jobs: uses: actions/cache/restore@v4 id: cache-llvm-source with: - key: llvm-source-17-linux-v2 + key: llvm-source-18-linux-v1 path: | llvm-project/clang/lib/Headers llvm-project/clang/include @@ -334,7 +334,7 @@ jobs: uses: actions/cache/restore@v4 id: cache-llvm-build with: - key: llvm-build-17-linux-${{ matrix.goarch }}-v2 + key: llvm-build-18-linux-${{ matrix.goarch }}-v1 path: llvm-build - name: Build LLVM if: steps.cache-llvm-build.outputs.cache-hit != 'true' diff --git a/.github/workflows/llvm.yml b/.github/workflows/llvm.yml index d7fd574df..f97646f7b 100644 --- a/.github/workflows/llvm.yml +++ b/.github/workflows/llvm.yml @@ -35,8 +35,8 @@ jobs: uses: docker/metadata-action@v5 with: images: | - tinygo/llvm-17 - ghcr.io/${{ github.repository_owner }}/llvm-17 + tinygo/llvm-18 + ghcr.io/${{ github.repository_owner }}/llvm-18 tags: | type=sha,format=long type=raw,value=latest diff --git a/.github/workflows/nix.yml b/.github/workflows/nix.yml index 2eae94fc0..62da55672 100644 --- a/.github/workflows/nix.yml +++ b/.github/workflows/nix.yml @@ -24,7 +24,7 @@ jobs: uses: actions/cache/restore@v4 id: cache-llvm-source with: - key: llvm-source-17-linux-nix-v2 + key: llvm-source-18-linux-nix-v1 path: | llvm-project/compiler-rt - name: Download LLVM source diff --git a/.github/workflows/sizediff-install-pkgs.sh b/.github/workflows/sizediff-install-pkgs.sh index ce51d4d36..31edc5750 100755 --- a/.github/workflows/sizediff-install-pkgs.sh +++ b/.github/workflows/sizediff-install-pkgs.sh @@ -2,11 +2,11 @@ # still works after checking out the dev branch (that is, when going from LLVM # 16 to LLVM 17 for example, both Clang 16 and Clang 17 are installed). -echo 'deb https://apt.llvm.org/jammy/ llvm-toolchain-jammy-17 main' | sudo tee /etc/apt/sources.list.d/llvm.list +echo 'deb https://apt.llvm.org/jammy/ llvm-toolchain-jammy-18 main' | sudo tee /etc/apt/sources.list.d/llvm.list wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - sudo apt-get update sudo apt-get install --no-install-recommends -y \ - llvm-17-dev \ - clang-17 \ - libclang-17-dev \ - lld-17 + llvm-18-dev \ + clang-18 \ + libclang-18-dev \ + lld-18 diff --git a/.github/workflows/sizediff.yml b/.github/workflows/sizediff.yml index 4146673ae..5dac15409 100644 --- a/.github/workflows/sizediff.yml +++ b/.github/workflows/sizediff.yml @@ -28,7 +28,7 @@ jobs: uses: actions/cache@v4 id: cache-llvm-source with: - key: llvm-source-17-sizediff-v2 + key: llvm-source-18-sizediff-v1 path: | llvm-project/compiler-rt - name: Download LLVM source diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 013ff1a27..5cfba9217 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -41,7 +41,7 @@ jobs: uses: actions/cache/restore@v4 id: cache-llvm-source with: - key: llvm-source-17-windows-v2 + key: llvm-source-18-windows-v1 path: | llvm-project/clang/lib/Headers llvm-project/clang/include @@ -66,7 +66,7 @@ jobs: uses: actions/cache/restore@v4 id: cache-llvm-build with: - key: llvm-build-17-windows-v2 + key: llvm-build-18-windows-v1 path: llvm-build - name: Build LLVM if: steps.cache-llvm-build.outputs.cache-hit != 'true' |