Skip to content

Commit

Permalink
try rust stable
Browse files Browse the repository at this point in the history
  • Loading branch information
SpiralP committed Feb 3, 2024
1 parent b7e9637 commit bb8304f
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ jobs:
- name: setup-msbuild
uses: microsoft/setup-msbuild@v1

- name: Install nightly ${{ matrix.config.target }}
- name: Install rust for ${{ matrix.config.target }}
uses: actions-rs/toolchain@v1
with:
# we have to use this toolchain because "libclang.dll: invalid DLL (32-bit)"
toolchain: nightly-${{ matrix.config.target }}
toolchain: stable-${{ matrix.config.target }}
target: ${{ matrix.config.target }}
override: true
components: rustfmt
Expand Down Expand Up @@ -130,11 +130,12 @@ jobs:
- arch: x86_64
target: x86_64-unknown-linux-gnu
url: "https://cef-builds.spotifycdn.com/cef_binary_121.3.3%2Bgc6b2e4d%2Bchromium-121.0.6167.86_linux64.tar.bz2"
- arch: i686
target: i686-unknown-linux-gnu
# Linux x86 32-bit builds are discontinued after version 101 (details)
# https://cef-builds.spotifycdn.com/index.html#linux32
url: "https://cef-builds.spotifycdn.com/cef_binary_101.0.18%2Bg367b4a0%2Bchromium-101.0.4951.67_linux32.tar.bz2"
# TODO
# - arch: i686
# target: i686-unknown-linux-gnu
# # Linux x86 32-bit builds are discontinued after version 101 (details)
# # https://cef-builds.spotifycdn.com/index.html#linux32
# url: "https://cef-builds.spotifycdn.com/cef_binary_101.0.18%2Bg367b4a0%2Bchromium-101.0.4951.67_linux32.tar.bz2"

steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -166,10 +167,10 @@ jobs:
&& mv cef_binary_* cef_interface/cef_binary \
&& echo "PKG_CONFIG_ALLOW_CROSS=1" >> $GITHUB_ENV
- name: Install nightly ${{ matrix.config.target }}
- name: Install rust for ${{ matrix.config.target }}
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
toolchain: stable
target: ${{ matrix.config.target }}
override: true
components: rustfmt
Expand Down Expand Up @@ -262,10 +263,10 @@ jobs:
&& rm cef_binary.tar.bz2 \
&& mv cef_binary_* cef_interface/cef_binary
- name: Install nightly ${{ matrix.config.target }}
- name: Install rust for ${{ matrix.config.target }}
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
toolchain: stable
target: ${{ matrix.config.target }}
override: true
components: rustfmt
Expand Down Expand Up @@ -326,10 +327,10 @@ jobs:
&& rm cef_binary.tar.bz2 \
&& mv cef_binary_* cef_interface/cef_binary
- name: Install nightly ${{ matrix.config.target }}
- name: Install rust for ${{ matrix.config.target }}
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
toolchain: stable
target: ${{ matrix.config.target }}
override: true
components: rustfmt
Expand Down

0 comments on commit bb8304f

Please sign in to comment.