This commit is contained in:
parent
b2145c2225
commit
6948651f7c
1 changed files with 15 additions and 1 deletions
|
@ -21,4 +21,18 @@ jobs:
|
|||
- name: get repo
|
||||
run: git clone ${{ github.server_url }}/${{ github.repository }}
|
||||
- run: ls
|
||||
- run: ls test/
|
||||
- run: ls test/
|
||||
- name: install rust
|
||||
run: apk --no-interactive --no-cache add cargo
|
||||
- name: build project
|
||||
run: |
|
||||
cargo init myapp
|
||||
cd myapp
|
||||
cat << 'EOF' > src/main.rs
|
||||
fn main() {
|
||||
println!("Hello, world!");
|
||||
}
|
||||
EOF
|
||||
cargo build --release
|
||||
- name: test build
|
||||
run: ./target/release/myapp
|
Loading…
Reference in a new issue