Skip to content

Commit

Permalink
fix: Update workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
hackinghieser committed Dec 28, 2024
1 parent 915a1db commit 50d8692
Showing 1 changed file with 36 additions and 43 deletions.
79 changes: 36 additions & 43 deletions .github/workflows/debug_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Clever Debug Build

on:
push:
branches: [ "main" ]
branches: ["main"]
pull_request:
branches: [ "main" ]
branches: ["main"]

env:
CARGO_TERM_COLOR: always
Expand Down Expand Up @@ -34,53 +34,46 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
working-directory: cleverapp
- name: Run tests
run: cargo test --verbose
working-directory: cleverapp
- name: 'Upload Artifact'
uses: actions/[email protected]
with:
name: clever-linux
path: /home/runner/work/clever/clever/target/debug/clever
retention-days: 5
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: "Upload Artifact"
uses: actions/[email protected]
with:
name: clever-linux
path: /home/runner/work/clever/clever/target/debug/clever
retention-days: 5


build-windows:
runs-on: windows-latest

steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
working-directory: cleverapp
- name: Run tests
run: cargo test --verbose
working-directory: cleverapp
- name: 'Upload Artifact'
uses: actions/[email protected]
with:
name: clever-windows
path: D:\a\clever\clever\target\debug\celver.exe
retention-days: 5

- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: "Upload Artifact"
uses: actions/[email protected]
with:
name: clever-windows
path: D:\a\clever\clever\target\debug\celver.exe
retention-days: 5

build-mac:
runs-on: macos-latest

steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
working-directory: cleverapp
- name: Run tests
run: cargo test --verbose
working-directory: cleverapp
- name: 'Upload Artifact'
uses: actions/[email protected]
with:
name: clever-macos
path: /Users/runner/work/clever/clever/target/debug/clever
retention-days: 5
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: "Upload Artifact"
uses: actions/[email protected]
with:
name: clever-macos
path: /Users/runner/work/clever/clever/target/debug/clever
retention-days: 5

0 comments on commit 50d8692

Please sign in to comment.