Skip to content

Commit

Permalink
feat: bump toolchain for GHA from nightly-2021-11-20 to nightly-2022-…
Browse files Browse the repository at this point in the history
…05-01 for develop (#4329)

Description
Update all GHAs with env.toolchain and bump from nightly-2021-11-20 to nightly-2022-05-01 for develop branch

Motivation and Context
Fix broken builds for newer modules

How Has This Been Tested?
Build in local fork for binary builds only
  • Loading branch information
leet4tari committed Jul 21, 2022
1 parent 5cff7a9 commit 9797c19
Show file tree
Hide file tree
Showing 13 changed files with 43 additions and 18 deletions.
8 changes: 6 additions & 2 deletions .github/wip_integration_tests.yml
@@ -1,9 +1,13 @@
---
name: CI

on:
push:
pull_request:
types: [opened]

name: CI
env:
toolchain: nightly-2022-05-01

jobs:
integration:
Expand All @@ -23,7 +27,7 @@ jobs:
- name: toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2021-11-20
toolchain: ${{ env.toolchain }}
components: clippy, rustfmt
override: true
- name: dependencies
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/audit.yml
@@ -1,8 +1,11 @@
---
# Runs daily
name: Security audit

on:
schedule:
- cron: "43 05 * * *"

jobs:
security_audit:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/auto_labels.yml
@@ -1,3 +1,4 @@
---
on:
workflow_run:
workflows:
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/base_node_binaries.yml
@@ -1,3 +1,4 @@
---
name: Build Matrix of Binaries

on:
Expand All @@ -18,14 +19,15 @@ on:
env:
TBN_FILENAME: "tari_suite"
TBN_BUNDLEID_BASE: "com.tarilabs.pkg"
toolchain: nightly-2022-05-01

jobs:
builds:
name: Build and upload Binaries
strategy:
fail-fast: false
matrix:
os: [ubuntu-18.04, macos-10.15, windows-2019]
os: [ubuntu-18.04, macos-11, windows-2019]
# https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html
target_cpu: ["x86-64"]
# https://github.com/zkcrypto/curve25519-dalek-ng/pull/14
Expand Down Expand Up @@ -63,7 +65,7 @@ jobs:
- name: Setup Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2021-11-20
toolchain: ${{ env.toolchain }}
components: rustfmt
override: true

Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
@@ -1,3 +1,6 @@
---
name: CI

on:
workflow_dispatch:
push:
Expand All @@ -13,15 +16,13 @@ on:
- reopened
- synchronize

name: CI

env:
toolchain: nightly-2022-05-01
CARGO_HTTP_MULTIPLEXING: false
CARGO_TERM_COLOR: always
PROTOC: protoc
TERM: unkown

jobs:
clippy:
name: clippy
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/coverage.yml
@@ -1,4 +1,6 @@
---
name: Source Coverage

on:
workflow_dispatch:
push:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/dan_layer_integration_tests.yml
@@ -1,11 +1,14 @@
---
name: DAN

on:
push:
pull_request:
types:
- opened
- reopened
- synchronize

env:
toolchain: nightly-2022-05-01

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/development-ci.yml
@@ -1,13 +1,14 @@
---
name: Development CI

on:
push:
branches:
- development
- main

name: Development CI

env:
toolchain: nightly-2021-11-20
toolchain: nightly-022-05-01
CARGO_HTTP_MULTIPLEXING: false
CARGO_TERM_COLOR: always
PROTOC: protoc
Expand Down Expand Up @@ -41,4 +42,3 @@ jobs:
run: |
cd applications/tari_web_extension_example
npm audit
3 changes: 1 addition & 2 deletions .github/workflows/launchpad_docker.yml
Expand Up @@ -15,7 +15,7 @@ on:
default: "development"

env:
toolchain: nightly-2021-11-20
toolchain: nightly-2022-05-01
CARGO_HTTP_MULTIPLEXING: false
CARGO_TERM_COLOR: always

Expand All @@ -27,7 +27,6 @@ jobs:
matrix:
image_name:
[
frontail,
monerod,
tor,
xmrig,
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/libwallet.yml
@@ -1,3 +1,4 @@
---
# Build a new set of libraries when a new tag containing 'libwallet' is pushed
name: Build libwallet

Expand All @@ -11,6 +12,9 @@ on:
- cron: "05 00 * * *"
workflow_dispatch:

env:
toolchain: nightly-2022-05-01

jobs:
android:
runs-on: ubuntu-latest
Expand All @@ -19,7 +23,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2021-11-20
toolchain: ${{ env.toolchain }}
override: true
- name: Install cross
run: |
Expand Down Expand Up @@ -66,13 +70,13 @@ jobs:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2021-11-20
toolchain: ${{ env.toolchain }}
target: aarch64-apple-ios
components: rustfmt
override: true
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2021-11-20
toolchain: ${{ env.toolchain }}
target: x86_64-apple-ios
components: rustfmt
override: true
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/long_running.yml
@@ -1,11 +1,13 @@
---
# Runs weekly (saturday noon)
name: Long running integration tests

on:
schedule:
- cron: "0 12 * * 6"

env:
toolchain: nightly-2021-11-20
toolchain: nightly-2022-05-01

jobs:
long-running:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/non_critical_integration_tests.yml
@@ -1,11 +1,13 @@
---
# Runs daily (2am)
name: Non critical integration tests

on:
schedule:
- cron: "0 2 * * *"

env:
toolchain: nightly-2021-11-20
toolchain: nightly-2022-05-01

jobs:
non-critical:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/pr_title.yml
@@ -1,4 +1,6 @@
---
name: PR

on:
pull_request:
types:
Expand Down

0 comments on commit 9797c19

Please sign in to comment.