Skip to content

Commit 3d4215c

Browse files
committed
test matrix builds
1 parent 43c8945 commit 3d4215c

File tree

1 file changed

+8
-19
lines changed

1 file changed

+8
-19
lines changed

.github/workflows/deploy.yml

Lines changed: 8 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -45,28 +45,17 @@ jobs:
4545
workspace: avail-light
4646
rust_target: i686-pc-windows-msvc
4747
output_name: avail-light-windows-i686
48-
extra_setup: ""
48+
extra_setup: |
49+
rustup target add i686-pc-windows-msvc
4950
5051
steps:
51-
# - uses: actions/checkout@v4
52-
# - name: Install cargo and setup on Linux
53-
# if: runner.os == 'Linux'
54-
# shell: bash
55-
# run: |
56-
# sudo apt-get update && sudo apt-get install -y librust-openssl-dev build-essential protobuf-compiler musl-tools clang libc6-dev libc6-dev-arm64-cross libssl-dev pkg-config
57-
# curl https://sh.rustup.rs -sSf | sh -s -- -y
58-
# source "$HOME/.cargo/env"
59-
6052
- uses: actions/checkout@v4
61-
- uses: taiki-e/upload-rust-binary-action@v1
62-
with:
63-
bin: ${{ matrix.workspace }}
64-
target: ${{ matrix.rust_target }}
65-
token: ${{ secrets.GITHUB_TOKEN }}
66-
tar: unix
67-
zip: windows
68-
ref: ${{ github.ref }}
69-
53+
- name: Install cargo and setup
54+
shell: bash
55+
run: |
56+
sudo apt-get update && sudo apt-get install -y librust-openssl-dev build-essential protobuf-compiler musl-tools clang libc6-dev libc6-dev-arm64-cross libssl-dev pkg-config
57+
curl https://sh.rustup.rs -sSf | sh -s -- -y
58+
source "$HOME/.cargo/env"
7059
7160
- name: Build ${{ matrix.output_name }}
7261
shell: bash

0 commit comments

Comments
 (0)