-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
137 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -151,6 +151,7 @@ endianness | |
esac | ||
euxo | ||
gsub | ||
libc | ||
moreutils | ||
msys | ||
noninteractive | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,6 @@ env: | |
CARGO_NET_GIT_FETCH_WITH_CLI: true | ||
CARGO_NET_RETRY: 10 | ||
CARGO_TERM_COLOR: always | ||
QEMU_STRACE: 1 | ||
RUST_BACKTRACE: 1 | ||
RUSTDOCFLAGS: -D warnings | ||
RUSTFLAGS: -D warnings | ||
|
@@ -184,7 +183,7 @@ jobs: | |
# - { target: thumbv7a-pc-windows-msvc, os: windows-latest } # tier3 | ||
- { target: x86_64-pc-windows-msvc, os: windows-latest } | ||
|
||
# Windows (GNU) | ||
# Windows (MinGW) | ||
# rustup target list | grep -e '-pc-windows-gnu' | ||
# rustc --print target-list | grep -e '-pc-windows-gnu' | ||
# Windows host: | ||
|
@@ -194,13 +193,13 @@ jobs: | |
os: windows-latest | ||
# Linux host: | ||
# - target: i686-pc-windows-gnu | ||
# os: ubuntu-22.04 | ||
- target: x86_64-pc-windows-gnu | ||
os: ubuntu-22.04 | ||
- target: x86_64-pc-windows-gnu | ||
runner: [email protected] | ||
- target: x86_64-pc-windows-gnu | ||
runner: [email protected] | ||
- target: x86_64-pc-windows-gnullvm | ||
- target: aarch64-pc-windows-gnullvm | ||
# prettier-ignore | ||
exclude: | ||
# Segmentation fault on ubuntu 20.04: https://github.com/taiki-e/setup-cross-toolchain-action/issues/1 | ||
|
@@ -220,6 +219,8 @@ jobs: | |
persist-credentials: false | ||
- name: Install Rust | ||
run: rustup toolchain add nightly --no-self-update && rustup default nightly | ||
- run: echo "QEMU_STRACE=1" >>"${GITHUB_ENV}" | ||
if: matrix.target != 'aarch64-pc-windows-gnullvm' | ||
- uses: ./ | ||
with: | ||
target: ${{ matrix.target }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,8 @@ GitHub Action for setup toolchains for cross compilation and cross testing for R | |
- [FreeBSD](#freebsd) | ||
- [NetBSD](#netbsd) | ||
- [WASI](#wasi) | ||
- [Windows (GNU)](#windows-gnu) | ||
- [Windows (MinGW)](#windows-mingw) | ||
- [Windows (LLVM MinGW)](#windows-llvm-mingw) | ||
- [Windows (MSVC)](#windows-msvc) | ||
- [macOS](#macos) | ||
- [Related Projects](#related-projects) | ||
|
@@ -367,23 +368,21 @@ Only specifying a major version is supported. | |
|
||
### WASI | ||
|
||
| C++ | test | | ||
| --- | ---- | | ||
| ? (libc++) | ✓ | | ||
| libc | Clang | C++ | test | | ||
| ---- | ----- | --- | ---- | | ||
| wasi-sdk 20 (wasi-libc 1dfe5c3) | 16.0.0 | ? (libc++) | ✓ | | ||
|
||
<!-- | ||
clang version and wasi-libc hash can be found here: https://github.com/taiki-e/rust-cross-toolchain#wasi | ||
--> | ||
|
||
**Supported targets**: | ||
|
||
| target | host | runner | note | | ||
| ------ | ---- | ------ | ---- | | ||
| `wasm32-wasi` | x86_64 Linux [1] | wasmtime | | | ||
|
||
<!-- | ||
clang version and wasi-libc hash can be found here: https://github.com/WebAssembly/wasi-sdk/tree/wasi-sdk-16/src | ||
--> | ||
| `wasm32-wasi` | x86_64 Linux | wasmtime | | | ||
|
||
[1] clang 14, wasi-sdk 16 (wasi-libc 30094b6)<br> | ||
|
||
### Windows (GNU) | ||
### Windows (MinGW) | ||
|
||
| C++ | test | | ||
| --- | ---- | | ||
|
@@ -413,6 +412,19 @@ You can select/pin the version by using `@` syntax in `runner` input option. For | |
runner: [email protected] | ||
``` | ||
|
||
### Windows (LLVM MinGW) | ||
|
||
| libc | Clang | C++ | test | | ||
| ---- | ----- | --- | ---- | | ||
| Mingw-w64 b190082 | 16.0.6 | ✓ (libc++) | ✓ | | ||
|
||
**Supported targets**: | ||
|
||
| target | host | runner | note | | ||
| ------ | ---- | ------ | ---- | | ||
| `aarch64-pc-windows-gnullvm` | Ubuntu (22.04) | wine | | | ||
| `x86_64-pc-windows-gnullvm` | Ubuntu (22.04) | wine | | | ||
|
||
### Windows (MSVC) | ||
|
||
| C++ | test | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters