Skip to content

Commit

Permalink
disable matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
alvicsam committed Sep 23, 2024
1 parent 32391a0 commit bbf0249
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,6 @@ jobs:
build-macos:
timeout-minutes: 30
runs-on: parity-macos
strategy:
fail-fast: true
matrix:
target: [aarch64-apple-darwin, x86_64-apple-darwin]
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set rust version from env file
Expand All @@ -93,7 +89,7 @@ jobs:
with:
cache: false
toolchain: ${{ env.RUST_VERSION }}
target: wasm32-unknown-unknown, ${{ matrix.target }}
target: wasm32-unknown-unknown, aarch64-apple-darwin, x86_64-apple-darwin
components: cargo, clippy, rust-docs, rust-src, rustfmt, rustc, rust-std
- name: cargo info
run: |
Expand All @@ -108,13 +104,12 @@ jobs:
cache-all-crates: true
- name: Run cargo build
run: |
cargo build --release --target ${{ matrix.target }}
# cargo build --release --target aarch64-apple-darwin
# cargo build --release --target x86_64-apple-darwin
# mkdir -p ./artifacts/substrate-contracts-node-mac/
# lipo ./target/x86_64-apple-darwin/release/substrate-contracts-node \
# ./target/aarch64-apple-darwin/release/substrate-contracts-node \
# -create -output ./artifacts/substrate-contracts-node-mac/substrate-contracts-node
cargo build --release --target aarch64-apple-darwin
cargo build --release --target x86_64-apple-darwin
mkdir -p ./artifacts/substrate-contracts-node-mac/
lipo ./target/x86_64-apple-darwin/release/substrate-contracts-node \
./target/aarch64-apple-darwin/release/substrate-contracts-node \
-create -output ./artifacts/substrate-contracts-node-mac/substrate-contracts-node
- name: Upload artifacts
uses: actions/[email protected]
with:
Expand Down

0 comments on commit bbf0249

Please sign in to comment.