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

Re-enable windows and macos builds #238

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft
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
35 changes: 20 additions & 15 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -45,39 +45,44 @@ jobs:
target: wasm32-unknown-unknown
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
# TODO: Address GitHub Actions concurrency limits and re-enable.
# - os: macos-latest
# target: x86_64-apple-darwin
# - os: macos-latest
# target: aarch64-apple-darwin
# TODO: Address disk space usage problems and re-enable.
# - os: windows-latest
# target: x86_64-pc-windows-msvc
- os: macos-latest
target: x86_64-apple-darwin
- os: macos-latest
target: aarch64-apple-darwin
- os: windows-latest
target: x86_64-pc-windows-msvc
runs-on: ${{ matrix.sys.os }}
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v3
- uses: stellar/actions/rust-cache@main
- run: rustup update
- run: rustup target add ${{ matrix.sys.target }}
- run: which cargo
- run: echo $PATH
- run: cargo --list
- uses: stellar/binaries@v12
with:
name: cargo-hack
version: 0.5.16
- run: cargo hack clippy $CARGO_HACK_ARGS --target ${{ matrix.sys.target }} --all-targets
- run: cargo-hack hack clippy $CARGO_HACK_ARGS --target ${{ matrix.sys.target }} --all-targets

test:
strategy:
matrix:
sys:
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
# TODO: Address GitHub Actions concurrency limits and re-enable.
# - os: macos-latest
# target: x86_64-apple-darwin
# TODO: Address disk space usage problems and re-enable.
# - os: windows-latest
# target: x86_64-pc-windows-msvc
- os: macos-latest
target: x86_64-apple-darwin
- os: windows-latest
target: x86_64-pc-windows-msvc
runs-on: ${{ matrix.sys.os }}
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v3
- uses: stellar/actions/rust-cache@main