Browse Source
* Try to fix CI (#2918) Fixes a few issues that have been cropping up: * Update `rustup` on Windows to latest to skip over the 1.24.1 installed on GitHub Actions which can fail to install. * Remove the no-longer-needed `define-llvm-env` action * Install generic llvm/lldb packges instead of specific ones that may migrate in versions over time. * cargo deny: ignore RUSTSEC-2021-0064 Transient dependencies depend on two different versions of `cpuid-bool`. This advisory does not appear to be urgent. We should review this ignore after a few weeks to see if our deps have switched over. text of the advisory: Issued May 6, 2021 Package cpuid-bool (crates.io) Type Unmaintained Details https://github.com/RustCrypto/utils/pull/381 Patched no patched versions Description Please use the `cpufeatures`` crate going forward: https://github.com/RustCrypto/utils/tree/master/cpufeatures There will be no further releases of cpuid-bool. * Run CI on this branch Co-authored-by: Pat Hickey <pat@moreproductive.org>stable-v0.26 v0.26.1
Alex Crichton
4 years ago
committed by
GitHub
6 changed files with 8 additions and 41 deletions
@ -1,3 +0,0 @@ |
|||
# define-llvm-env |
|||
|
|||
Defines `DWARFDUMP` and `LLDB` path executable. |
@ -1,6 +0,0 @@ |
|||
name: 'Set up a DWARFDUMP env' |
|||
description: 'Set up a DWARFDUMP env (see tests/all/debug/dump.rs)' |
|||
|
|||
runs: |
|||
using: node12 |
|||
main: 'main.js' |
@ -1,19 +0,0 @@ |
|||
#!/usr/bin/env node
|
|||
|
|||
const fs = require('fs'); |
|||
|
|||
function set_env(name, val) { |
|||
fs.appendFileSync(process.env['GITHUB_ENV'], `${name}=${val}\n`) |
|||
} |
|||
|
|||
// On OSX pointing to brew's LLVM location.
|
|||
if (process.platform == 'darwin') { |
|||
set_env("DWARFDUMP", "/usr/local/opt/llvm/bin/llvm-dwarfdump"); |
|||
set_env("LLDB", "/usr/local/opt/llvm/bin/lldb"); |
|||
} |
|||
|
|||
// On Linux pointing to specific version
|
|||
if (process.platform == 'linux') { |
|||
set_env("DWARFDUMP", "/usr/bin/llvm-dwarfdump-9"); |
|||
set_env("LLDB", "/usr/bin/lldb-9"); |
|||
} |
Loading…
Reference in new issue