Skip to content

Commit

Permalink
Pin Rust version in CI workflows to 1.67
Browse files Browse the repository at this point in the history
  • Loading branch information
thunderbiscuit committed Apr 23, 2023
1 parent e1c7035 commit 52b6dfb
Show file tree
Hide file tree
Showing 10 changed files with 32 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/publish-android.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ jobs:
distribution: temurin
java-version: 11

- name: "Set default Rust version to 1.67.0"
run: rustup default 1.67.0

- name: "Install Rust Android targets"
run: rustup target add x86_64-linux-android aarch64-linux-android armv7-linux-androideabi

Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/publish-jvm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ jobs:
distribution: temurin
java-version: 11

- name: "Set default Rust version to 1.67.0"
run: rustup default 1.67.0

- name: Install aarch64 Rust target
run: rustup target add aarch64-apple-darwin

Expand All @@ -43,7 +46,7 @@ jobs:
build-jvm-full-library:
name: Create full bdk-jvm library
needs: [build-jvm-macOS-M1-native-lib]
runs-on: ubuntu-22.04
runs-on: ubuntu-20.04
steps:
- name: Checkout publishing branch
uses: actions/checkout@v2
Expand All @@ -68,6 +71,9 @@ jobs:
distribution: temurin
java-version: 11

- name: "Set default Rust version to 1.67.0"
run: rustup default 1.67.0

- name: Build bdk-jvm library
run: |
cd bdk-jvm
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/publish-python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ jobs:
with:
toolchain: stable

- name: "Set default Rust version to 1.67.0"
run: rustup default 1.67.0

- name: "Install requirements"
run: ${PYBIN}/pip install -r requirements.txt

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-android.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Test Android
on:
workflow_dispatch:
push:
paths:
- "bdk-ffi/**"
Expand All @@ -18,7 +19,6 @@ env:

jobs:
build:
# The build cannot be done on the ubuntu-22.04 image, see issue #346
runs-on: ubuntu-20.04
steps:
- name: "Install Android NDK 21.4.7075529"
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test-jvm.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Test Kotlin/JVM
on:
workflow_dispatch:
push:
paths:
- "bdk-ffi/**"
Expand Down Expand Up @@ -31,6 +32,9 @@ jobs:
distribution: temurin
java-version: 11

- name: "Set default Rust version to 1.67.0"
run: rustup default 1.67.0

- name: Run JVM tests
run: |
cd bdk-jvm
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test-python.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Test Python
on:
workflow_dispatch:
push:
paths:
- "bdk-ffi/**"
Expand Down Expand Up @@ -43,6 +44,9 @@ jobs:
with:
toolchain: stable

- name: "Set default Rust version to 1.67.0"
run: rustup default 1.67.0

- name: "Install requirements"
run: ${PYBIN}/pip install -r requirements.txt

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test-swift.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Test Swift
on:
workflow_dispatch:
push:
paths:
- "bdk-ffi/**"
Expand All @@ -16,6 +17,9 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: "Set default Rust version to 1.67.0"
run: rustup default 1.67.0

- name: Install Rust targets
run: |
rustup install nightly-x86_64-apple-darwin
Expand Down
2 changes: 2 additions & 0 deletions bdk-jvm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,5 @@ dependencies {
[`bdk`]: https://github.com/bitcoindevkit/bdk
[`bdk-ffi`]: https://github.com/bitcoindevkit/bdk-ffi
Temporary line: needed to run CI
2 changes: 2 additions & 0 deletions bdk-python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,5 @@ tox -vv
```shell
pip install ./dist/bdkpython-<yourversion>-py3-none-any.whl
```

Temporary line: needed to run CI
2 changes: 2 additions & 0 deletions bdk-swift/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,5 @@ own GitHub repository use the following steps:
[Xcode]: https://developer.apple.com/documentation/Xcode
[`bdk`]: https://github.com/bitcoindevkit/bdk
[`bdk-ffi`]: https://github.com/bitcoindevkit/bdk-ffi

Temporary line: needed to run CI

0 comments on commit 52b6dfb

Please sign in to comment.