Skip to content

Commit

Permalink
Reworks workflows into script (#661)
Browse files Browse the repository at this point in the history
* Reworks some workflows to run a script instead

Advantages are:
- Only one set of tests needs maintenance.
- Local results match workflows, no surprises.
- Reduced reliance on GitHub actions.

Fixes #50, #168, #169, #171, #507

* Adds macos to the test matrix
  • Loading branch information
kaczmarczyck authored Nov 8, 2023
1 parent 3a5adfc commit e5ba9db
Show file tree
Hide file tree
Showing 30 changed files with 128 additions and 743 deletions.
38 changes: 0 additions & 38 deletions .github/workflows/boards_build.yml

This file was deleted.

6 changes: 1 addition & 5 deletions .github/workflows/cargo_audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,9 @@ jobs:
- uses: actions/checkout@v2
with:
submodules: "true"
- name: Install Rust toolchain
run: rustup show
- uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Install Python dependencies
run: python -m pip install --upgrade pip setuptools wheel
python-version: "3.10"
- name: Set up OpenSK
run: ./setup.sh
- uses: actions-rs/audit-check@v1
Expand Down
9 changes: 1 addition & 8 deletions .github/workflows/cargo_bloat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ jobs:
# Setup
- uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Install Python dependencies
run: python -m pip install --upgrade pip setuptools wheel
python-version: "3.10"
- uses: actions-rs/cargo@v1
with:
command: install
Expand All @@ -20,8 +18,6 @@ jobs:
- uses: actions/checkout@v2
with:
submodules: true
- name: Install Rust toolchain
run: rustup show
- name: Set up OpenSK
run: ./setup.sh
- name: Run bloat on the PR
Expand All @@ -33,9 +29,6 @@ jobs:
submodules: true
ref: ${{ github.base_ref }}
path: OpenSK_base
- name: Install old Rust toolchain
working-directory: ./OpenSK_base
run: rustup show
- name: Set up OpenSK
working-directory: ./OpenSK_base
run: ./setup.sh
Expand Down
102 changes: 0 additions & 102 deletions .github/workflows/cargo_check.yml

This file was deleted.

34 changes: 0 additions & 34 deletions .github/workflows/cargo_clippy.yml

This file was deleted.

96 changes: 0 additions & 96 deletions .github/workflows/cargo_fmt.yml

This file was deleted.

33 changes: 0 additions & 33 deletions .github/workflows/cargo_fuzz.yml

This file was deleted.

37 changes: 0 additions & 37 deletions .github/workflows/cbor_test.yml

This file was deleted.

Loading

0 comments on commit e5ba9db

Please sign in to comment.