From 6f5f4beaa7583d58b37dd6f106708e00f20c18b2 Mon Sep 17 00:00:00 2001 From: Raphiiko Date: Sat, 22 Jun 2024 13:42:03 +0200 Subject: [PATCH] Downgrade LLVM in GH Actions --- .github/workflows/build-development.yml | 4 ++ .github/workflows/build-release.yml | 4 ++ .../workflows/build-steam-beta-release.yml | 4 ++ .github/workflows/build-steam-release.yml | 4 ++ .github/workflows/pr-and-feature-check.yml | 37 +------------------ 5 files changed, 17 insertions(+), 36 deletions(-) diff --git a/.github/workflows/build-development.yml b/.github/workflows/build-development.yml index 11c6ed38..952d39a6 100644 --- a/.github/workflows/build-development.yml +++ b/.github/workflows/build-development.yml @@ -32,6 +32,10 @@ jobs: run: npm run set-flavour DEV - name: Set build id run: npm run set-build-id + - name: Install LLVM and Clang + uses: KyleMayes/install-llvm-action@v2 + with: + version: "17.0.6" - name: Install Rust stable toolchain uses: actions-rs/toolchain@v1 with: diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 02f8c8d6..ff7648e5 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -32,6 +32,10 @@ jobs: run: npm run set-flavour STANDALONE - name: Set build id run: npm run set-build-id + - name: Install LLVM and Clang + uses: KyleMayes/install-llvm-action@v2 + with: + version: "17.0.6" - name: Install Rust stable toolchain uses: actions-rs/toolchain@v1 with: diff --git a/.github/workflows/build-steam-beta-release.yml b/.github/workflows/build-steam-beta-release.yml index d46e019c..7a383013 100644 --- a/.github/workflows/build-steam-beta-release.yml +++ b/.github/workflows/build-steam-beta-release.yml @@ -23,6 +23,10 @@ jobs: cache: npm - name: Initialize the project run: npm run ci + - name: Install LLVM and Clang + uses: KyleMayes/install-llvm-action@v2 + with: + version: "17.0.6" - name: Install Rust stable toolchain uses: actions-rs/toolchain@v1 with: diff --git a/.github/workflows/build-steam-release.yml b/.github/workflows/build-steam-release.yml index 68ec955e..fe1e8bb3 100644 --- a/.github/workflows/build-steam-release.yml +++ b/.github/workflows/build-steam-release.yml @@ -27,6 +27,10 @@ jobs: cache: npm - name: Initialize the project run: npm run ci + - name: Install LLVM and Clang + uses: KyleMayes/install-llvm-action@v2 + with: + version: "17.0.6" - name: Install Rust stable toolchain uses: actions-rs/toolchain@v1 with: diff --git a/.github/workflows/pr-and-feature-check.yml b/.github/workflows/pr-and-feature-check.yml index 12b06d62..fced7e37 100644 --- a/.github/workflows/pr-and-feature-check.yml +++ b/.github/workflows/pr-and-feature-check.yml @@ -14,7 +14,7 @@ jobs: strategy: fail-fast: false matrix: - platform: [windows-latest] + platform: [ windows-latest ] runs-on: ${{ matrix.platform }} steps: @@ -28,38 +28,3 @@ jobs: run: npm run ci - name: Lint Angular project run: npm run lint - - name: Set app version to DEV version - run: npm run set-version DEV - - name: Set flavour to DEV - run: npm run set-flavour DEV - - name: Set build id - run: npm run set-build-id - - name: Install Rust stable toolchain - uses: actions-rs/toolchain@v1 - with: - toolchain: 1.77.2 - default: true - override: true - - name: Install Protoc - uses: arduino/setup-protoc@v2 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - - name: Configure Rust cache - uses: Swatinem/rust-cache@v2 - with: - workspaces: | - src-shared-rust - src-elevated-sidecar - src-core -# - name: Install development Tauri CLI -# run: cargo install --git https://github.com/tauri-apps/tauri --branch 1.x tauri-cli - - name: Test if OyasumiVR compiles - uses: tauri-apps/tauri-action@v0 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: -# tauriScript: cargo-tauri - includeDebug: true - includeRelease: false - includeUpdaterJson: false - args: -b "{\"tauri\":{\"bundle\":{\"active\":false}}}"