Skip to content

Commit 34afc6e

Browse files
committed
Simplify the CI script
1 parent d21bf45 commit 34afc6e

1 file changed

Lines changed: 2 additions & 14 deletions

File tree

‎.github/workflows/rust.yml‎

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,44 +13,33 @@ jobs:
1313
- build: stable
1414
os: ubuntu-latest
1515
rust: stable
16-
target: x86_64-unknown-linux-gnu
1716
- build: beta
1817
os: ubuntu-latest
1918
rust: beta
20-
target: x86_64-unknown-linux-gnu
2119
- build: nightly
2220
os: ubuntu-latest
2321
rust: nightly
24-
target: x86_64-unknown-linux-gnu
2522
- build: anaconda linux
2623
os: ubuntu-latest
2724
rust: stable
28-
target: x86_64-unknown-linux-gnu
2925
- build: macos
3026
os: macos-latest
3127
rust: stable
32-
target: x86_64-apple-darwin
3328
- build: anaconda macos
3429
os: macos-latest
3530
rust: nightly
36-
target: x86_64-apple-darwin
3731
- build: macos-aarch64
3832
# Must install app https://github.com/apps/flyci-prod
3933
os: flyci-macos-large-latest-m1
4034
rust: stable
41-
target: aarch64-apple-darwin
4235
- build: anaconda macos-aarch64
4336
os: flyci-macos-large-latest-m1
4437
rust: stable
45-
target: aarch64-apple-darwin
4638
- build: win64
4739
os: windows-latest
4840
rust: stable
49-
target: x86_64-pc-windows-msvc
5041
steps:
5142
- uses: actions/checkout@master
52-
- run: git submodule init
53-
- run: git submodule update
5443
- uses: actions/setup-python@v5
5544
with:
5645
python-version: '3.12'
@@ -67,9 +56,8 @@ jobs:
6756
- name: Install Rust (rustup)
6857
run: |
6958
rustup update --no-self-update
70-
rustup default ${{ matrix.rust }}-${{ matrix.target }}
71-
- run: cargo build -vv
72-
if: ${{ ! startsWith(matrix.build, 'anaconda') }}
59+
rustup default ${{ matrix.rust }}
60+
- run: cargo build -v
7361
- run: cargo test
7462
if: ${{ ! startsWith(matrix.build, 'anaconda') }}
7563
- run: cargo run --example a_simple_example

0 commit comments

Comments
 (0)