Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 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
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,11 @@ jobs:
- name: Run tests
run: |
./y.sh test --release --clean --build-sysroot ${{ matrix.commands }}

- name: Run y.sh cargo build
run: |
export RUSTFLAGS="-Zcodegen-backend=$(pwd)/target/release/librustc_codegen_gcc.so"
./y.sh cargo build --manifest-path tests/hello_world/Cargo.toml

- name: Check formatting
run: cargo fmt -- --check
Expand Down
4 changes: 4 additions & 0 deletions tests/hello-world/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[package]
name = "hello_world"

[dependencies]
3 changes: 3 additions & 0 deletions tests/hello-world/src/main.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}