Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 36 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
check-msrv:
if: github.event.pull_request.draft == false
name: Check MSRV
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: dtolnay/[email protected]
Expand All @@ -66,7 +66,7 @@ jobs:
test:
if: github.event.pull_request.draft == false
name: Test Suite
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Free Disk Space
Expand All @@ -87,7 +87,7 @@ jobs:
release-test:
if: github.event.pull_request.draft == false
name: Test Suite with Optimizations
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Free Disk Space
Expand All @@ -108,7 +108,7 @@ jobs:
fmt:
if: github.event.pull_request.draft == false
name: Rustfmt
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: dtolnay/[email protected]
Expand All @@ -122,7 +122,7 @@ jobs:
docs:
if: github.event.pull_request.draft == false
name: Docs
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: awalsh128/cache-apt-pkgs-action@latest
Expand All @@ -145,7 +145,7 @@ jobs:
check:
if: github.event.pull_request.draft == false
name: Check
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: awalsh128/cache-apt-pkgs-action@latest
Expand All @@ -161,7 +161,7 @@ jobs:
clippy:
if: github.event.pull_request.draft == false
name: Clippy
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: awalsh128/cache-apt-pkgs-action@latest
Expand All @@ -181,7 +181,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
os: [ubuntu-24.04, macos-latest]
steps:
- uses: actions/checkout@v4
- uses: nixbuild/nix-quick-install-action@master
Expand Down Expand Up @@ -261,9 +261,25 @@ jobs:
command: "build",
args: "--package dioxus-mobile",
}
- {
target: x86_64-unknown-linux-gnu,
os: ubuntu-24.04,
toolchain: "1.86.0",
cross: false,
command: "build",
args: "--all --tests",
}
- {
target: aarch64-unknown-linux-gnu,
os: ubuntu-24.04-arm,
toolchain: "1.86.0",
cross: false,
command: "build",
args: "--all --tests",
}
- {
target: aarch64-linux-android,
os: ubuntu-latest,
os: ubuntu-24.04,
toolchain: "1.86.0",
cross: true,
command: "build",
Expand All @@ -283,6 +299,16 @@ jobs:
if: ${{ matrix.platform.target == 'x86_64-pc-windows-msvc' }}
uses: ilammy/setup-nasm@v1

- name: Free Disk Space
if: ${{ matrix.platform.os == 'ubuntu-24.04' || matrix.platform.os == 'ubuntu-24.04-arm' }}
uses: ./.github/actions/free-disk-space

- uses: awalsh128/cache-apt-pkgs-action@latest
if: ${{ matrix.platform.os == 'ubuntu-24.04' || matrix.platform.os == 'ubuntu-24.04-arm' }}
with:
packages: libwebkit2gtk-4.1-dev libgtk-3-dev libayatana-appindicator3-dev libxdo-dev
version: 1.0

- name: Install cross
if: ${{ matrix.platform.cross == true }}
uses: taiki-e/install-action@cross
Expand Down Expand Up @@ -335,7 +361,7 @@ jobs:
# semver:
# if: github.event.pull_request.draft == false && !contains(github.event.pull_request.labels.*.name, 'breaking')
# name: Semver Check
# runs-on: ubuntu-latest
# runs-on: ubuntu-24.04
# steps:
# - uses: actions/checkout@v4
# - uses: dtolnay/[email protected]
Expand Down
16 changes: 13 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ jobs:
- target: aarch64-apple-darwin
os: macos-latest
- target: x86_64-unknown-linux-gnu
os: ubuntu-22.04
# - target: aarch64-unknown-linux-gnu
# os: ubuntu-latest
os: ubuntu-24.04
- target: aarch64-unknown-linux-gnu
os: ubuntu-24.04-arm
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -73,6 +73,16 @@ jobs:
if: ${{ matrix.platform.target == 'x86_64-pc-windows-msvc' }}
uses: ilammy/setup-nasm@v1

- name: Free Disk Space
if: ${{ matrix.platform.os == 'ubuntu-24.04' || matrix.platform.os == 'ubuntu-24.04-arm' }}
uses: ./.github/actions/free-disk-space

- uses: awalsh128/cache-apt-pkgs-action@latest
if: ${{ matrix.platform.os == 'ubuntu-24.04' || matrix.platform.os == 'ubuntu-24.04-arm' }}
with:
packages: libwebkit2gtk-4.1-dev libgtk-3-dev libayatana-appindicator3-dev libxdo-dev
version: 1.0

- name: Install stable
uses: dtolnay/rust-toolchain@master
with:
Expand Down
Loading