Skip to content

Commit

Permalink
ci: try fix daily ci
Browse files Browse the repository at this point in the history
  • Loading branch information
7sDream committed Jun 9, 2024
1 parent de70021 commit 9ba6a07
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/action-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
platform: linux
arch: armhf
libc: musl
- os: macos-11
- os: macos-12
rust-target: x86_64-apple-darwin
platform: darwin
arch: x64
Expand All @@ -86,23 +86,24 @@ jobs:
- name: Install Rust toolchains
run: |
rustup set auto-self-update disable
rustup toolchain install ${{ inputs.channel }} --profile minimal -t ${{ matrix.rust-target }}
rustup toolchain install ${{ inputs.channel }} -t ${{ matrix.rust-target }} --profile minimal
rustup default ${{ inputs.channel }}-${{ matrix.rust-target }}
rustup show
- name: Install AArch64 target toolchain
- name: Install AArch64 target toolchain for Linux
if: matrix.platform == 'linux' && matrix.arch == 'arm64'
run: |
sudo apt-get update
sudo apt-get install gcc-aarch64-linux-gnu
UPPER_TARGET=$(echo ${{ matrix.rust-target }} | tr '[a-z]-' '[A-Z]_')
echo "CARGO_TARGET_${UPPER_TARGET}_LINKER=aarch64-linux-gnu-gcc" >> "$GITHUB_ENV"
- name: Install ARM target toolchain
- name: Install ARM target toolchain for Linux
if: matrix.platform == 'linux' && matrix.arch == 'armhf'
run: |
sudo apt-get update
sudo apt-get install gcc-arm-linux-gnueabihf
UPPER_TARGET=$(echo ${{ matrix.rust-target }} | tr '[a-z]-' '[A-Z]_')
echo "CARGO_TARGET_${UPPER_TARGET}_LINKER=arm-linux-gnueabihf-gcc" >> "$GITHUB_ENV"
- name: Install musl toolchain
- name: Install musl toolchain for Linux
if: matrix.platform == 'linux' && matrix.libc == 'musl'
run: |
sudo apt-get update
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

jobs:
depver:
if: "contains(github.event.head_commit.message, '(release)')"
if: contains(github.event.head_commit.message, '(release)')
uses: ./.github/workflows/action-depver.yml

lint:
Expand Down
3 changes: 0 additions & 3 deletions rust-toolchain.toml

This file was deleted.

0 comments on commit 9ba6a07

Please sign in to comment.