Skip to content

Commit 5012b97

Browse files
committed
Update default and nightly rust toolchains
1 parent 979193c commit 5012b97

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

.github/actions/install-dependencies/action.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,18 @@ runs:
2626
mkdir -p ${{ inputs.destination }}/bin
2727
git clone --branch 0.0.125-bindings https://github.com/lightningdevkit/rust-lightning ${{ inputs.destination }}/rust-lightning
2828
git clone --branch 0.0.125 https://github.com/lightningdevkit/ldk-c-bindings ${{ inputs.destination }}/ldk-c-bindings
29+
- name: Configure default Rust toolchain
30+
shell: bash
31+
run: |
32+
rustup install 1.73.0
33+
rustup default 1.73.0
2934
- name: Install Rust, required targets
3035
if: ${{ inputs.configureRustNightly == 'true' }}
3136
shell: bash
3237
run: |
33-
rustup toolchain install nightly-2022-05-13
38+
rustup toolchain install nightly-2022-06-24
3439
rustup target add aarch64-apple-darwin aarch64-apple-ios x86_64-apple-ios
35-
rustup component add rust-src --toolchain nightly-2022-05-13-x86_64-apple-darwin
40+
rustup component add rust-src --toolchain nightly-2022-06-24-aarch64-apple-darwin
3641
- name: Load Cache
3742
if: ${{ inputs.configureRustNightly == 'true' }}
3843
uses: actions/cache@v3

.github/workflows/swift.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,16 @@ jobs:
3333
sudo apt-get update
3434
# sudo apt-get -y upgrade
3535
sudo apt-get -y install cargo lld git g++ clang curl
36+
rustup install 1.73.0
37+
rustup default 1.73.0
38+
- name: Print updated environment details
39+
run: |
40+
set -x
41+
rustup --version
42+
clang --version
43+
clang --print-resource-dir
44+
ls -ll "$(clang -print-resource-dir)"
45+
ls -ll "$(clang -print-resource-dir)/lib/linux"
3646
- name: Install Dependencies
3747
uses: ./.github/actions/install-dependencies
3848
with:

0 commit comments

Comments
 (0)