Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workflow update #615

Closed
wants to merge 28 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions .github/workflows/audit-check.yml

This file was deleted.

136 changes: 0 additions & 136 deletions .github/workflows/benchmark.yml

This file was deleted.

71 changes: 0 additions & 71 deletions .github/workflows/build-crate-and-npm.yml

This file was deleted.

30 changes: 11 additions & 19 deletions .github/workflows/build-riscv64.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: QEMU Build and test riscv64 crate
name: Python wheel (QEMU RISCV-64)

on:
push:
Expand All @@ -15,18 +15,15 @@ permissions:
contents: read

jobs:
build_crate:
name: Build riscv64 crate and run tests
test-riscv64:
name: Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]

steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 1
- uses: actions/checkout@v4

- name: Set up QEMU on x86_64
id: qemu
Expand All @@ -43,8 +40,8 @@ jobs:
cargo test --release -p chia-consensus
'

build_wheels:
name: ${{ matrix.os }} 📦 Build Wheel ${{ matrix.python.major-dot-minor }}
build-wheels:
name: Wheel (${{ matrix.os }} ${{ matrix.python.major-dot-minor }})
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand All @@ -60,10 +57,7 @@ jobs:
matrix: "3.11"

steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 1
- uses: actions/checkout@v4

- name: Set up QEMU on x86_64
id: qemu
Expand Down Expand Up @@ -91,18 +85,16 @@ jobs:
name: packages-${{ matrix.os }}-${{ matrix.python.major-dot-minor }}
path: ./target/wheels
if-no-files-found: error

upload:
name: Upload to Chia PyPI
runs-on: ubuntu-latest
needs:
- build_wheels
- build-wheels
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/checkout@v4

- name: Set Env
- name: Set env
uses: Chia-Network/actions/setjobenv@main
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/prettier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ jobs:
prettier:
name: Prettier
runs-on: ubuntu-latest
strategy:
fail-fast: false

steps:
- uses: actions/checkout@v4
Expand Down
Loading
Loading