revert back main.yml

This commit is contained in:
Ivan Folgueira Bande 2025-10-13 11:51:39 +02:00
parent 1ab261cd92
commit b0d22739fe
No known key found for this signature in database
GPG Key ID: 3C117481F89E24A7

View File

@ -8,22 +8,6 @@ on:
name: CI
# Make sure cc linker is used on Linux/macOS
x-setup-linker: &setup-linker
- name: Setup linker
run: |
mkdir -p .cargo
cat > .cargo/config.toml <<EOF
[target.x86_64-unknown-linux-gnu]
linker = "cc"
[target.aarch64-apple-darwin]
linker = "cc"
[target.x86_64-apple-darwin]
linker = "cc"
EOF
jobs:
check:
name: Check
@ -35,7 +19,7 @@ jobs:
#- os: windows-latest
# toolchain: stable-x86_64-pc-windows-gnu
- os: macos-latest
toolchain: stable
toolchain: stable-x86_64-apple-darwin
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
@ -45,7 +29,7 @@ jobs:
run: git submodule update --init --recursive
- uses: actions-rs/toolchain@v1
with:
profile: default
profile: minimal
toolchain: ${{ matrix.toolchain }}
default: true
override: true
@ -64,7 +48,7 @@ jobs:
#- os: windows-latest
# toolchain: stable-x86_64-pc-windows-gnu
- os: macos-latest
toolchain: stable
toolchain: stable-x86_64-apple-darwin
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
@ -74,11 +58,10 @@ jobs:
run: git submodule update --init --recursive
- uses: actions-rs/toolchain@v1
with:
profile: default
profile: minimal
toolchain: ${{ matrix.toolchain }}
default: true
override: true
- *setup-linker
- uses: actions-rs/cargo@v1
continue-on-error: false
with:
@ -99,7 +82,7 @@ jobs:
run: git submodule update --init --recursive
- uses: actions-rs/toolchain@v1
with:
profile: default
profile: minimal
toolchain: stable
override: true
components: rustfmt, clippy
@ -116,4 +99,4 @@ jobs:
continue-on-error: false
with:
command: clippy
args: -- --deny warnings
args: -- --deny warnings