diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-10-12 20:49:09 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-10-12 20:49:09 +0100 |
commit | 3d13939260f565fe6fb176b15e23201aafc2d11e (patch) | |
tree | 9dd2febf96ab469f00acea3418e1055acc15d999 | |
parent | c518fe7f6ca1c9a15d7d822654303155c90ce695 (diff) | |
parent | e99cb578c99ca574dff6073d673eef9bb96ef4e3 (diff) |
Merge #6208
6208: macOS: install GNU tar r=jonas-schievink a=jonas-schievink
CI runs on macOS have started to fail due to https://github.com/actions/cache/issues/403. Use GNU tar instead of BSD tar to work around that.
Co-authored-by: Jonas Schievink <[email protected]>
Co-authored-by: Jonas Schievink <[email protected]>
-rw-r--r-- | .github/workflows/ci.yaml | 8 | ||||
-rw-r--r-- | Cargo.lock | 1 | ||||
-rw-r--r-- | bors.toml | 2 |
3 files changed, 10 insertions, 1 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index a19bc9ad3..77f2e2e16 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml | |||
@@ -42,6 +42,14 @@ jobs: | |||
42 | if: matrix.os == 'windows-latest' | 42 | if: matrix.os == 'windows-latest' |
43 | run: Rename-Item C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc.old | 43 | run: Rename-Item C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc.old |
44 | 44 | ||
45 | # Work around https://github.com/actions/cache/issues/403 by using GNU tar | ||
46 | # instead of BSD tar. | ||
47 | - name: Install GNU tar | ||
48 | if: matrix.os == 'macos-latest' | ||
49 | run: | | ||
50 | brew install gnu-tar | ||
51 | echo PATH="/usr/local/opt/gnu-tar/libexec/gnubin:$PATH" >> $GITHUB_ENV | ||
52 | |||
45 | - name: Install Rust toolchain | 53 | - name: Install Rust toolchain |
46 | uses: actions-rs/toolchain@v1 | 54 | uses: actions-rs/toolchain@v1 |
47 | with: | 55 | with: |
diff --git a/Cargo.lock b/Cargo.lock index fdb62e6ea..320f70529 100644 --- a/Cargo.lock +++ b/Cargo.lock | |||
@@ -1,5 +1,6 @@ | |||
1 | # This file is automatically @generated by Cargo. | 1 | # This file is automatically @generated by Cargo. |
2 | # It is not intended for manual editing. | 2 | # It is not intended for manual editing. |
3 | # asdasdasdasd | ||
3 | [[package]] | 4 | [[package]] |
4 | name = "addr2line" | 5 | name = "addr2line" |
5 | version = "0.13.0" | 6 | version = "0.13.0" |
@@ -1,7 +1,7 @@ | |||
1 | status = [ | 1 | status = [ |
2 | "Rust (ubuntu-latest)", | 2 | "Rust (ubuntu-latest)", |
3 | "Rust (windows-latest)", | 3 | "Rust (windows-latest)", |
4 | # "Rust (macos-latest)", | 4 | "Rust (macos-latest)", |
5 | "TypeScript (ubuntu-latest)", | 5 | "TypeScript (ubuntu-latest)", |
6 | "TypeScript (windows-latest)", | 6 | "TypeScript (windows-latest)", |
7 | ] | 7 | ] |