Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
Signed-off-by: sagudev <[email protected]>
  • Loading branch information
sagudev committed Nov 23, 2024
1 parent 3b521f6 commit bee2098
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@ jobs:
platform:
- { target: aarch64-apple-darwin, os: macos-14, test: true }
- { target: x86_64-apple-darwin, os: macos-13, test: true }
- { target: x86_64-unknown-linux-gnu, os: ubuntu-latest, test: true }
- { target: x86_64-unknown-linux-gnu, os: ubuntu-24.04, test: true }
- { target: x86_64-pc-windows-msvc, os: windows-latest, test: true }
- { target: i686-pc-windows-msvc, os: windows-latest, test: false }
- { target: aarch64-pc-windows-msvc, os: windows-latest, test: false }
- {
target: aarch64-unknown-linux-ohos,
os: ubuntu-latest,
os: ubuntu-24.04,
test: false,
}
- { target: arm-linux-androideabi, os: ubuntu-latest, test: false }
- { target: arm-linux-androideabi, os: ubuntu-24.04, test: false }
features:
[
"",
Expand All @@ -42,11 +42,7 @@ jobs:
include:
- features: "sm-x11 sm-wayland-default"
platform:
{
target: x86_64-unknown-linux-gnu,
os: ubuntu-latest,
test: true,
}
{ target: x86_64-unknown-linux-gnu, os: ubuntu-24.04, test: true }
- features: "chains sm-angle-builtin"
platform:
{ target: x86_64-pc-windows-msvc, os: windows-latest, test: true }
Expand Down Expand Up @@ -80,14 +76,14 @@ jobs:
cargo test --features "${{ matrix.features }}" --target ${{ matrix.platform.target }}
Format:
name: Run `rustfmt`
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: mkroening/rust-toolchain-toml@main
- run: cargo fmt --check
build_result:
name: Result
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: ["Build", "Format"]
if: always()
steps:
Expand Down

0 comments on commit bee2098

Please sign in to comment.