mirror of
https://github.com/logos-messaging/logos-messaging-rust-bindings.git
synced 2026-01-08 17:03:08 +00:00
revert back main.yml
This commit is contained in:
parent
1ab261cd92
commit
b0d22739fe
27
.github/workflows/main.yml
vendored
27
.github/workflows/main.yml
vendored
@ -8,22 +8,6 @@ on:
|
|||||||
|
|
||||||
name: CI
|
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:
|
jobs:
|
||||||
check:
|
check:
|
||||||
name: Check
|
name: Check
|
||||||
@ -35,7 +19,7 @@ jobs:
|
|||||||
#- os: windows-latest
|
#- os: windows-latest
|
||||||
# toolchain: stable-x86_64-pc-windows-gnu
|
# toolchain: stable-x86_64-pc-windows-gnu
|
||||||
- os: macos-latest
|
- os: macos-latest
|
||||||
toolchain: stable
|
toolchain: stable-x86_64-apple-darwin
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
@ -45,7 +29,7 @@ jobs:
|
|||||||
run: git submodule update --init --recursive
|
run: git submodule update --init --recursive
|
||||||
- uses: actions-rs/toolchain@v1
|
- uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
profile: default
|
profile: minimal
|
||||||
toolchain: ${{ matrix.toolchain }}
|
toolchain: ${{ matrix.toolchain }}
|
||||||
default: true
|
default: true
|
||||||
override: true
|
override: true
|
||||||
@ -64,7 +48,7 @@ jobs:
|
|||||||
#- os: windows-latest
|
#- os: windows-latest
|
||||||
# toolchain: stable-x86_64-pc-windows-gnu
|
# toolchain: stable-x86_64-pc-windows-gnu
|
||||||
- os: macos-latest
|
- os: macos-latest
|
||||||
toolchain: stable
|
toolchain: stable-x86_64-apple-darwin
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
@ -74,11 +58,10 @@ jobs:
|
|||||||
run: git submodule update --init --recursive
|
run: git submodule update --init --recursive
|
||||||
- uses: actions-rs/toolchain@v1
|
- uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
profile: default
|
profile: minimal
|
||||||
toolchain: ${{ matrix.toolchain }}
|
toolchain: ${{ matrix.toolchain }}
|
||||||
default: true
|
default: true
|
||||||
override: true
|
override: true
|
||||||
- *setup-linker
|
|
||||||
- uses: actions-rs/cargo@v1
|
- uses: actions-rs/cargo@v1
|
||||||
continue-on-error: false
|
continue-on-error: false
|
||||||
with:
|
with:
|
||||||
@ -99,7 +82,7 @@ jobs:
|
|||||||
run: git submodule update --init --recursive
|
run: git submodule update --init --recursive
|
||||||
- uses: actions-rs/toolchain@v1
|
- uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
profile: default
|
profile: minimal
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
override: true
|
override: true
|
||||||
components: rustfmt, clippy
|
components: rustfmt, clippy
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user