Skip to content

Commit

Permalink
Workflows adjusted for artifact upload.
Browse files Browse the repository at this point in the history
  • Loading branch information
EgeBalci committed Jun 19, 2024
1 parent 9bc4ab8 commit 901ab0b
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 27 deletions.
28 changes: 24 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,32 +11,52 @@ jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Build
run: cargo build --release --verbose
- name: Run tests
run: cargo test --verbose
- uses: actions/upload-artifact@v4
with:
name: deoptimizer-linux-x86_64
path: ./target/release/deoptimizer
retention-days: 5
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Build
run: cargo build --release --verbose
- name: Run tests
run: cargo test --verbose
- uses: actions/upload-artifact@v4
with:
name: deoptimizer-windows-x86_64
path: ./target/release/deoptimizer.exe
retention-days: 5
build-macos-x86:
runs-on: macos-13
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Build
run: cargo build --release --verbose
- name: Run tests
run: cargo test --verbose
- uses: actions/upload-artifact@v4
with:
name: deoptimizer-macos-x86_64
path: ./target/release/deoptimizer
retention-days: 5
build-macos-arm64:
runs-on: macos-14
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Build
run: cargo build --release --verbose
- name: Run tests
run: cargo test --verbose
- uses: actions/upload-artifact@v4
with:
name: deoptimizer-macos-aarch64
path: ./target/release/deoptimizer
retention-days: 5
23 changes: 0 additions & 23 deletions .github/workflows/on_demand_build.yml

This file was deleted.

0 comments on commit 901ab0b

Please sign in to comment.