Skip to content

Commit

Permalink
try ubuntu 20.04 to avoid 143 error
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianmurariu committed Jul 8, 2024
1 parent 1fcbc9c commit f56e564
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/test_rust_disk_storage_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,12 @@ jobs:
runs-on: '${{ matrix.os }}'
env:
CARGO_NET_GIT_FETCH_WITH_CLI: true
RUST_BACKTRACE: 1
strategy:
matrix:
include:
- os: macos-latest
- os: ubuntu-latest
- os: ubuntu-20.04
- os: windows-latest
steps:
- uses: maxim-lobanov/setup-xcode@v1
Expand All @@ -36,7 +37,7 @@ jobs:
override: true
components: rustfmt, clippy
- name: Free up space (ubuntu)
if: matrix.os == 'ubuntu-latest'
if: "contains(matrix.os, 'ubuntu')"
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf /usr/local/lib/android
Expand All @@ -56,12 +57,8 @@ jobs:
uses: arduino/setup-protoc@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Install bininstall
uses: cargo-bins/cargo-binstall@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Install nextest
run: cargo binstall -y --force cargo-nextest
uses: taiki-e/install-action@nextest
- name: Activate pometry-storage in Cargo.toml
run: make pull-storage
- name: Run all Tests (disk_graph)
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/test_rust_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,12 @@ jobs:
runs-on: '${{ matrix.os }}'
env:
CARGO_NET_GIT_FETCH_WITH_CLI: true
RUST_BACKTRACE: 1
strategy:
matrix:
include:
- os: macos-latest
- os: ubuntu-latest
- os: ubuntu-20.04
- os: windows-latest
steps:
- uses: maxim-lobanov/setup-xcode@v1
Expand All @@ -36,7 +37,7 @@ jobs:
override: true
components: rustfmt, clippy
- name: Free up space (ubuntu)
if: matrix.os == 'ubuntu-latest'
if: "contains(matrix.os, 'ubuntu')"
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf /usr/local/lib/android
Expand All @@ -56,10 +57,8 @@ jobs:
name: Cargo cache
with:
cache-all-crates: true
- name: Install bininstall
uses: cargo-bins/cargo-binstall@main
- name: Install nextest
run: cargo binstall -y --force cargo-nextest
uses: taiki-e/install-action@nextest
- name: Run all Tests (no disk_graph)
env:
RUSTFLAGS: -Awarnings
Expand Down

0 comments on commit f56e564

Please sign in to comment.