diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 03fccb372e..52f5c8c38b 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -71,6 +71,8 @@ jobs: # On macOS, we need a proper Clang version, not Apple's custom version without wasm32 support - name: Install LLVM and Clang for macOS uses: KyleMayes/install-llvm-action@c135b3937686fd69c2651507aabc9925a8f9eee8 # v1.8.3 + with: + env: true if: runner.os == 'macOS' - name: Install Protoc @@ -146,6 +148,8 @@ jobs: # On macOS, we need a proper Clang version, not Apple's custom version without wasm32 support - name: Install LLVM and Clang for macOS uses: KyleMayes/install-llvm-action@c135b3937686fd69c2651507aabc9925a8f9eee8 # v1.8.3 + with: + env: true if: runner.os == 'macOS' - name: Install Protoc diff --git a/.github/workflows/snapshot-build.yml b/.github/workflows/snapshot-build.yml index 05aca1624b..eef397be1d 100644 --- a/.github/workflows/snapshot-build.yml +++ b/.github/workflows/snapshot-build.yml @@ -128,6 +128,8 @@ jobs: # On macOS, we need a proper Clang version, not Apple's custom version without wasm32 support - name: Install LLVM and Clang for macOS uses: KyleMayes/install-llvm-action@c135b3937686fd69c2651507aabc9925a8f9eee8 # v1.8.3 + with: + env: true if: runner.os == 'macOS' - name: Install Protoc @@ -187,20 +189,11 @@ jobs: restore-keys: | ${{ runner.os }}-cargo- - - name: Build farmer (Linux and Windows) + - name: Build farmer uses: actions-rs/cargo@ae10961054e4aa8b4aa7dffede299aaf087aa33b # @v1.0.1 with: command: build args: --locked -Z build-std --target ${{ matrix.build.target }} --profile production --bin subspace-farmer - if: runner.os != 'macOS' - - # We build macOS without `numa` feature, primarily because of https://github.com/HadrienG2/hwlocality/issues/31 - - name: Build farmer (macOS) - uses: actions-rs/cargo@ae10961054e4aa8b4aa7dffede299aaf087aa33b # @v1.0.1 - with: - command: build - args: --locked -Z build-std --target ${{ matrix.build.target }} --profile production --bin subspace-farmer --no-default-features - if: runner.os == 'macOS' - name: Build node uses: actions-rs/cargo@ae10961054e4aa8b4aa7dffede299aaf087aa33b # @v1.0.1