Skip to content

Commit eea398c

Browse files
committed
fix extended jobs
1 parent 6a390ba commit eea398c

File tree

1 file changed

+16
-12
lines changed

1 file changed

+16
-12
lines changed

.github/workflows/extended.yml

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,19 @@ jobs:
3939
linux-build-lib:
4040
name: linux build test
4141
runs-on: ubuntu-latest
42-
container:
43-
image: amd64/rust
42+
# note: do not use amd/rust container to preserve disk space
4443
steps:
4544
- uses: actions/checkout@v4
4645
with:
4746
submodules: true
4847
fetch-depth: 1
49-
- name: Setup Rust toolchain
50-
uses: ./.github/actions/setup-builder
51-
with:
52-
rust-version: stable
48+
- name: Install Rust
49+
run: |
50+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
51+
source $HOME/.cargo/env
52+
rustup toolchain default
53+
- name: Install Protobuf Compiler
54+
run: sudo apt-get install -y protobuf-compiler
5355
- name: Prepare cargo build
5456
run: |
5557
cargo check --profile ci --all-targets
@@ -60,19 +62,21 @@ jobs:
6062
name: cargo test 'extended_tests' (amd64)
6163
needs: linux-build-lib
6264
runs-on: ubuntu-latest
63-
container:
64-
image: amd64/rust
65+
# note: do not use amd/rust container to preserve disk space
6566
steps:
6667
- uses: actions/checkout@v4
6768
with:
6869
submodules: true
6970
fetch-depth: 1
7071
- name: Free Disk Space (Ubuntu)
7172
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be
72-
- name: Setup Rust toolchain
73-
uses: ./.github/actions/setup-builder
74-
with:
75-
rust-version: stable
73+
- name: Install Rust
74+
run: |
75+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
76+
source $HOME/.cargo/env
77+
rustup toolchain install
78+
- name: Install Protobuf Compiler
79+
run: sudo apt-get install -y protobuf-compiler
7680
# For debugging, test binaries can be large.
7781
- name: Show available disk space
7882
run: |

0 commit comments

Comments
 (0)