Skip to content

Commit

Permalink
Maybe.
Browse files Browse the repository at this point in the history
  • Loading branch information
dsherret committed Dec 2, 2024
1 parent 80d2bcf commit aa23c3c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/ci.generate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ const ci = {
name: "Cache cargo",
if: "startsWith(github.ref, 'refs/tags/') != true",
uses: "Swatinem/rust-cache@v2",
with: {
key: "${{ matrix.config.target }}",
},
},
{ uses: "denoland/setup-deno@v2" },
{
Expand Down Expand Up @@ -128,7 +131,7 @@ const ci = {
if: "matrix.config.target == 'riscv64gc-unknown-linux-gnu'",
run: [
"sudo apt update",
"sudo apt-get install gcc-riscv64-linux-gnu g++-riscv64-linux-gnu libc6-dev-riscv64-cross",
"sudo apt-get install -y gcc-riscv64-linux-gnu g++-riscv64-linux-gnu libc6-dev-riscv64-cross",
"rustup target add riscv64gc-unknown-linux-gnu",
"which riscv64-unknown-linux-gnu-gcc"
].join("\n"),
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ jobs:
- name: Cache cargo
if: 'startsWith(github.ref, ''refs/tags/'') != true'
uses: Swatinem/rust-cache@v2
with:
key: '${{ matrix.config.target }}'
- uses: denoland/setup-deno@v2
- name: Setup (Linux x86_64-musl)
if: matrix.config.target == 'x86_64-unknown-linux-musl'
Expand All @@ -85,7 +87,7 @@ jobs:
if: matrix.config.target == 'riscv64gc-unknown-linux-gnu'
run: |-
sudo apt update
sudo apt-get install gcc-riscv64-linux-gnu g++-riscv64-linux-gnu libc6-dev-riscv64-cross
sudo apt-get install -y gcc-riscv64-linux-gnu g++-riscv64-linux-gnu libc6-dev-riscv64-cross
rustup target add riscv64gc-unknown-linux-gnu
which riscv64-unknown-linux-gnu-gcc
- name: Build (Debug)
Expand Down

0 comments on commit aa23c3c

Please sign in to comment.