Skip to content
Snippets Groups Projects
Commit 9ed379cb authored by Yuki Okushi's avatar Yuki Okushi
Browse files

Serial Experiments GitHub Actions

BuildChannelsMacOS, SemverLinux, and SemverMacOS
parent 6e4f0a58
No related branches found
No related tags found
No related merge requests found
......@@ -426,3 +426,138 @@ jobs:
done
- name: Execute run-docker.sh
run: LIBC_CI=1 sh ./ci/run-docker.sh switch
build_channels_macos:
name: Build Channels macOS
runs-on: macos-10.15
env:
OS: macos
strategy:
fail-fast: false
max-parallel: 5
matrix:
toolchain: [
stable,
beta,
nightly,
1.13.0,
1.19.0,
1.24.0,
1.25.0,
1.30.0,
]
steps:
- uses: actions/checkout@v2
- name: Setup Rust toolchain
run: |
set -ex
rustup set profile minimal
rustup update --force ${{ matrix.toolchain }}
rustup default ${{ matrix.toolchain }}
- name: Query Rust and Cargo versions
run: |
set -ex
rustc -Vv
cargo -V
rustup -Vv
rustup show
which rustc
which cargo
which rustup
- name: Generate lockfile
run: |
set -ex
N=5
n=0
until [ $n -ge $N ]
do
if cargo generate-lockfile ; then
break
fi
n=$((n+1))
sleep 1
done
- name: Execute build.sh
run: LIBC_CI=1 TOOLCHAIN=${{ matrix.toolchain }} sh ./ci/build.sh
semver_linux:
name: Semver Linux
runs-on: ubuntu-18.04
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v2
- name: Setup Rust toolchain
run: |
set -ex
rustup set profile minimal
rustup update --force nightly
rustup default nightly
- name: Query Rust and Cargo versions
run: |
set -ex
rustc -Vv
cargo -V
rustup -Vv
rustup show
which rustc
which cargo
which rustup
- name: Generate lockfile
run: |
set -ex
N=5
n=0
until [ $n -ge $N ]
do
if cargo generate-lockfile ; then
break
fi
n=$((n+1))
sleep 1
done
- name: Check breaking changes
run: sh ci/semver.sh linux
semver_macos:
name: Semver macOS
runs-on: macos-10.15
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v2
- name: Setup Rust toolchain
run: |
set -ex
rustup set profile minimal
rustup update --force nightly
rustup default nightly
- name: Query Rust and Cargo versions
run: |
set -ex
rustc -Vv
cargo -V
rustup -Vv
rustup show
which rustc
which cargo
which rustup
- name: Generate lockfile
run: |
set -ex
N=5
n=0
until [ $n -ge $N ]
do
if cargo generate-lockfile ; then
break
fi
n=$((n+1))
sleep 1
done
- name: Check breaking changes
run: sh ci/semver.sh macos
......@@ -180,7 +180,7 @@ case "${OS}" in
fi
;;
osx*)
macos*)
TARGETS="${RUST_OSX_TARGETS}"
;;
*)
......@@ -269,7 +269,7 @@ i386-apple-ios \
i686-apple-darwin \
"
if [ "${RUST}" = "nightly" ] && [ "${OS}" = "osx" ]; then
if [ "${RUST}" = "nightly" ] && [ "${OS}" = "macos" ]; then
for TARGET in $RUST_OSX_NO_CORE_TARGETS; do
if echo "$TARGET" | grep -q "$FILTER"; then
test_target build "$TARGET" 1
......
......@@ -53,7 +53,7 @@ x86_64-fortanix-unknown-sgx \
wasm32-unknown-unknown \
"
;;
*osx*)
*macos*)
TARGETS="\
aarch64-apple-ios \
x86_64-apple-darwin \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment