Skip to content

Build WhiteboxTools

Build WhiteboxTools #1

Workflow file for this run

name: Build WhiteboxTools
on:
workflow_dispatch:
# push:
# branches:
# - main # Adjust to match your primary branch name
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
# os: [ubuntu-latest, windows-latest, macOS-latest]
os: [ubuntu-20.04, windows-latest, macos-12, macOS-latest]
python-version: ['3.8']
steps:
- name: Check out code
uses: actions/checkout@v4
# # Install Rust and Cargo
# - name: Install Rust
# uses: actions-rs/toolchain@v1
# with:
# profile: minimal
# toolchain: stable
# override: true
# Install Rust and Cargo
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Run build script
run: python build.py
- name: Upload WBT
uses: actions/upload-artifact@v4
with:
name: wbt-${{ matrix.os }}-${{ matrix.python-version }}
path: WBT