Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #7 by using older version of rust nightly #11

Closed
wants to merge 1 commit into from
Closed
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
10 changes: 6 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,18 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
rust: [nightly]
rust: [nightly-2020-04-29]
include:
- os: macOS-latest
rust: 'nightly'
rust: 'nightly-2020-04-29'
components: 'rust-src'
targets: 'x86_64-apple-darwin'
- os: windows-latest
rust: 'nightly'
rust: 'nightly-2020-04-29'
components: 'rust-src'
targets: 'x86_64-pc-windows-msvc'
- os: ubuntu-latest
rust: 'nightly'
rust: 'nightly-2020-04-29'
components: 'rust-src'
targets: 'x86_64-unknown-linux-gnu'

Expand All @@ -46,6 +46,8 @@ jobs:
run: cargo --version
- name: Install cargo-download
run: cargo install cargo-download
- name: Set override for Rust version
run: rustup override set ${{ matrix.rust }}
- name: Building dev version
run:
cargo build -Z build-std=std,core,alloc,panic_abort --target x86_64-unknown-hermit
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
rust: [nightly]
rust: [nightly-2020-04-29]
include:
- os: ubuntu-latest
rust: 'nightly'
rust: 'nightly-2020-04-29'
components: 'rust-src, llvm-tools-preview'
targets: 'x86_64-unknown-linux-gnu'

Expand All @@ -43,6 +43,10 @@ jobs:
run: cargo install cargo-xbuild
- name: Install qemu/nasm
run: sudo apt-get update --fix-missing && sudo apt-get install qemu-system-x86 nasm
- name: Set override for Rust version
run: |
rustup override set ${{ matrix.rust }}
cd loader && rustup override set ${{ matrix.rust }}
- name: Building dev version
run:
cargo build -Z build-std=std,core,alloc,panic_abort --target x86_64-unknown-hermit
Expand Down