Reworks workflows into script (#661)
* 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
This commit is contained in:
9
.github/workflows/cargo_bloat.yml
vendored
9
.github/workflows/cargo_bloat.yml
vendored
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user