File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change 99
1010 steps :
1111 - uses : actions/checkout@v4
12- - name : Setup Riscv
13- continue-on-error : true
12+ - name : Setup ports
1413 run : |
1514 sudo dpkg --add-architecture riscv64
1615 sudo sed -i 's|http://azure.archive.ubuntu.com/ubuntu|http://ports.ubuntu.com/ubuntu-ports|g' \
1716 /etc/apt/sources.list /etc/apt/apt-mirrors.txt
18- sudo apt-get clean
19- sudo apt-get update
20- sudo apt-get install -y --no-install-recommends \
21- build-essential \
22- gcc-14-riscv64-linux-gnu \
23- g++-14-riscv64-linux-gnu \
24- libcurl4-openssl-dev:riscv64
17+
18+ - name : Setup toolchain
19+ uses : awalsh128/cache-apt-pkgs-action@latest
20+ with :
21+ packages : >
22+ build-essential
23+ gcc-14-riscv64-linux-gnu
24+ g++-14-riscv64-linux-gnu
25+ libcurl4-openssl-dev:riscv64
26+ version : 1.0
2527
2628 - name : Build
2729 run : |
5052 fetch-depth : 0
5153
5254 - name : Setup Riscv
53- continue-on-error : true
5455 run : |
5556 sudo dpkg --add-architecture riscv64
5657 sudo sed -i 's|http://azure.archive.ubuntu.com/ubuntu|http://ports.ubuntu.com/ubuntu-ports|g' \
9394 fetch-depth : 0
9495
9596 - name : Setup Arm64
96- continue-on-error : true
9797 run : |
9898 sudo dpkg --add-architecture arm64
9999 sudo sed -i 's|http://azure.archive.ubuntu.com/ubuntu|http://ports.ubuntu.com/ubuntu-ports|g' \
You can’t perform that action at this time.
0 commit comments