@@ -16,28 +16,29 @@ jobs:
16
16
runs-on : ${{ matrix.os }}
17
17
strategy :
18
18
matrix :
19
- build : [macos-arm]
19
+ build : [linux, macos, macos -arm, windows ]
20
20
include :
21
- # - build: linux
22
- # os: ubuntu-20.04
23
- # rust: stable
24
- # target: x86_64-unknown-linux-musl
25
- # release-file-suffix: x86_64-linux.tar.gz
26
- # - build: macos
27
- # os: macos-12
28
- # rust: stable
29
- # target: x86_64-apple-darwin
30
- # release-file-suffix: x86_64-macos.tar.gz
21
+ - build : linux
22
+ os : ubuntu-20.04
23
+ run : sudo apt-get -y install musl-tools
24
+ rust : stable
25
+ target : x86_64-unknown-linux-musl
26
+ release-file-suffix : x86_64-linux.tar.gz
27
+ - build : macos
28
+ os : macos-12
29
+ rust : stable
30
+ target : x86_64-apple-darwin
31
+ release-file-suffix : x86_64-macos.tar.gz
31
32
- build : macos-arm
32
- os : macos-13-xlarge
33
+ os : flyci- macos-large-latest-m1
33
34
rust : stable
34
35
target : aarch64-apple-darwin
35
36
release-file-suffix : arm64-macos.tar.gz
36
- # - build: windows
37
- # os: windows-2019
38
- # rust: stable-x86_64-msvc
39
- # target: x86_64-pc-windows-msvc
40
- # release-file-suffix: x86_64-windows.7z
37
+ - build : windows
38
+ os : windows-2019
39
+ rust : stable-x86_64-msvc
40
+ target : x86_64-pc-windows-msvc
41
+ release-file-suffix : x86_64-windows.7z
41
42
fail-fast : false
42
43
43
44
steps :
59
60
target : ${{ matrix.target }}
60
61
61
62
- name : Install prerequisites
62
- if : matrix.build == 'linux '
63
- run : sudo apt-get -y install musl-tools
63
+ if : matrix.run != ' '
64
+ run : ${{ matrix.run }}
64
65
65
66
- name : Build binary
66
67
run : cargo build --verbose --release --target ${{ matrix.target }}
0 commit comments