Skip to content

Commit bbf0249

Browse files
committed
disable matrix
1 parent 32391a0 commit bbf0249

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,6 @@ jobs:
7272
build-macos:
7373
timeout-minutes: 30
7474
runs-on: parity-macos
75-
strategy:
76-
fail-fast: true
77-
matrix:
78-
target: [aarch64-apple-darwin, x86_64-apple-darwin]
7975
steps:
8076
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
8177
- name: Set rust version from env file
@@ -93,7 +89,7 @@ jobs:
9389
with:
9490
cache: false
9591
toolchain: ${{ env.RUST_VERSION }}
96-
target: wasm32-unknown-unknown, ${{ matrix.target }}
92+
target: wasm32-unknown-unknown, aarch64-apple-darwin, x86_64-apple-darwin
9793
components: cargo, clippy, rust-docs, rust-src, rustfmt, rustc, rust-std
9894
- name: cargo info
9995
run: |
@@ -108,13 +104,12 @@ jobs:
108104
cache-all-crates: true
109105
- name: Run cargo build
110106
run: |
111-
cargo build --release --target ${{ matrix.target }}
112-
# cargo build --release --target aarch64-apple-darwin
113-
# cargo build --release --target x86_64-apple-darwin
114-
# mkdir -p ./artifacts/substrate-contracts-node-mac/
115-
# lipo ./target/x86_64-apple-darwin/release/substrate-contracts-node \
116-
# ./target/aarch64-apple-darwin/release/substrate-contracts-node \
117-
# -create -output ./artifacts/substrate-contracts-node-mac/substrate-contracts-node
107+
cargo build --release --target aarch64-apple-darwin
108+
cargo build --release --target x86_64-apple-darwin
109+
mkdir -p ./artifacts/substrate-contracts-node-mac/
110+
lipo ./target/x86_64-apple-darwin/release/substrate-contracts-node \
111+
./target/aarch64-apple-darwin/release/substrate-contracts-node \
112+
-create -output ./artifacts/substrate-contracts-node-mac/substrate-contracts-node
118113
- name: Upload artifacts
119114
uses: actions/[email protected]
120115
with:

0 commit comments

Comments
 (0)