Skip to content

Commit

Permalink
chore: update github actions (#3071)
Browse files Browse the repository at this point in the history
  • Loading branch information
stringhandler committed Jul 9, 2021
2 parents b5a0f42 + 9a8c2ca commit 966268a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
20 changes: 13 additions & 7 deletions .github/workflows/base_node_binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,23 @@ jobs:
# os: [ubuntu-18.04, ubuntu-20.04, macos-10.15, macos-11.0, windows-2019]
# os: [ubuntu-latest, macos-latest, windows-latest, self-hosted]
# os: [ubuntu-18.04, ubuntu-20.04, macos-10.15, macos-11.0, windows-2016, windows-2019]
os: [ubuntu-18.04, macos-10.15, windows-2016, self-hosted]
os: [ubuntu-18.04, macos-10.15, windows-2019, self-hosted]
# os: [ubuntu-20.04]
# https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html
# features: ["safe", "avx2"]
# features: ["safe"]
# target_cpu: ["x86-64", "broadwell", "skylake"]
target_cpu: ["haswell"]
target_cpu: ["x86-64", "haswell"]
# target_release: ["release", "debug"]
# exclude:
# - target_cpu: "x86-64"
# features: "avx2"
exclude:
- os: "macos-10.15"
target_cpu: "haswell"
- os: "ubuntu-18.04"
target_cpu: "x86-64"
- os: "windows-2019"
target_cpu: "x86-64"
- os: "self-hosted"
target_cpu: "x86-64"

runs-on: ${{ matrix.os }}

Expand Down Expand Up @@ -65,7 +71,7 @@ jobs:
uses: actions-rs/toolchain@v1
with:
# toolchain: stable
toolchain: nightly-2020-08-13
toolchain: nightly-2021-05-09
components: rustfmt
# target: ${{ matrix.target }}
override: true
Expand Down Expand Up @@ -96,7 +102,7 @@ jobs:
if: startsWith(matrix.os,'windows')
run: |
vcpkg.exe install sqlite3:x64-windows zlib:x64-windows
choco upgrade llvm zip psutils openssl -y
choco upgrade llvm zip psutils openssl strawberryperl -y
- name: Set environment variables - Nix
if: "!startsWith(matrix.os,'Windows')"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
if: startsWith(matrix.os,'windows')
run: |
vcpkg.exe install sqlite3:x64-windows zlib:x64-windows
choco upgrade openssl llvm zip psutils -y
choco upgrade openssl llvm zip psutils strawberryperl -y
- name: windows env
if: startsWith(matrix.os,'Windows')
Expand All @@ -62,7 +62,7 @@ jobs:
- name: toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2020-08-13
toolchain: nightly-2021-05-09
components: clippy, rustfmt
override: true

Expand Down

0 comments on commit 966268a

Please sign in to comment.