Skip to content

Commit

Permalink
Fixed actions breaking, added gitignore for ./vs
Browse files Browse the repository at this point in the history
  • Loading branch information
SturdyFool10 committed Oct 13, 2024
1 parent d5f48e3 commit 599f696
Show file tree
Hide file tree
Showing 13 changed files with 92 additions and 101 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/build_MacOS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,26 @@ name: Build MacOS
on:
push:
branches:
- main # Adjust this to your main branch name
- main # Adjust this to your main branch name

jobs:
build:
runs-on: macos-latest # Use the latest macOS runner
runs-on: macos-latest # Use the latest macOS runner

steps:
- name: Checkout code
uses: actions/checkout@v2 # This step checks out your repository
- name: Checkout code
uses: actions/checkout@v4 # This step checks out your repository

- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable

- name: Build and Compile
run: cargo build --release # Run your build command
- name: Build and Compile
run: cargo build --release # Run your build command

- name: Archive Artifact
uses: actions/upload-artifact@v2
with:
name: MacOs_Artifact
path: target/release/server_host # Replace with the actual path to your compiled binary
- name: Archive Artifact
uses: actions/upload-artifact@v2
with:
name: MacOs_Artifact
path: target/release/server_host # Replace with the actual path to your compiled binary
30 changes: 15 additions & 15 deletions .github/workflows/build_MacOS_testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,26 @@ name: Build MacOS Testing
on:
push:
branches:
- testing # Adjust this to your main branch name
- testing # Adjust this to your main branch name

jobs:
build:
runs-on: macos-latest # Use the latest macOS runner
runs-on: macos-latest # Use the latest macOS runner

steps:
- name: Checkout code
uses: actions/checkout@v2 # This step checks out your repository
- name: Checkout code
uses: actions/checkout@v4 # This step checks out your repository

- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable

- name: Build and Compile
run: cargo build --release # Run your build command
- name: Build and Compile
run: cargo build --release # Run your build command

- name: Archive Artifact
uses: actions/upload-artifact@v2
with:
name: MacOs_Artifact
path: target/release/server_host # Replace with the actual path to your compiled binary
- name: Archive Artifact
uses: actions/upload-artifact@v2
with:
name: MacOs_Artifact
path: target/release/server_host # Replace with the actual path to your compiled binary
30 changes: 15 additions & 15 deletions .github/workflows/build_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,26 @@ name: Build Linux
on:
push:
branches:
- main # Adjust this to your main branch name
- main # Adjust this to your main branch name

jobs:
build:
runs-on: ubuntu-latest # Use the latest Windows runner
runs-on: ubuntu-latest # Use the latest Windows runner

steps:
- name: Checkout code
uses: actions/checkout@v2 # This step checks out your repository
- name: Checkout code
uses: actions/checkout@v4 # This step checks out your repository

- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable

- name: Build and Compile
run: cargo build --release # Run your build command
- name: Build and Compile
run: cargo build --release # Run your build command

- name: Archive Artifact
uses: actions/upload-artifact@v2
with:
name: Linux_Artifact
path: target/release/server_host # Replace with the actual path to your compiled binary
- name: Archive Artifact
uses: actions/upload-artifact@v2
with:
name: Linux_Artifact
path: target/release/server_host # Replace with the actual path to your compiled binary
30 changes: 15 additions & 15 deletions .github/workflows/build_linux_testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,26 @@ name: Build Linux Testing
on:
push:
branches:
- testing # Adjust this to your main branch name
- testing # Adjust this to your main branch name

jobs:
build:
runs-on: ubuntu-latest # Use the latest Windows runner
runs-on: ubuntu-latest # Use the latest Windows runner

steps:
- name: Checkout code
uses: actions/checkout@v2 # This step checks out your repository
- name: Checkout code
uses: actions/checkout@v4 # This step checks out your repository

- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable

- name: Build and Compile
run: cargo build --release # Run your build command
- name: Build and Compile
run: cargo build --release # Run your build command

- name: Archive Artifact
uses: actions/upload-artifact@v2
with:
name: Linux_Artifact
path: target/release/server_host # Replace with the actual path to your compiled binary
- name: Archive Artifact
uses: actions/upload-artifact@v2
with:
name: Linux_Artifact
path: target/release/server_host # Replace with the actual path to your compiled binary
30 changes: 15 additions & 15 deletions .github/workflows/build_win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,26 @@ name: Build Win
on:
push:
branches:
- main # Adjust this to your main branch name
- main # Adjust this to your main branch name

jobs:
build:
runs-on: windows-latest # Use the latest Windows runner
runs-on: windows-latest # Use the latest Windows runner

steps:
- name: Checkout code
uses: actions/checkout@v2 # This step checks out your repository
- name: Checkout code
uses: actions/checkout@v4 # This step checks out your repository

- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable

- name: Build and Compile
run: cargo build --release # Run your build command
- name: Build and Compile
run: cargo build --release # Run your build command

- name: Archive Artifact
uses: actions/upload-artifact@v2
with:
name: Win_Artifact
path: target/release/server_host.exe # Replace with the actual path to your compiled binary
- name: Archive Artifact
uses: actions/upload-artifact@v2
with:
name: Win_Artifact
path: target/release/server_host.exe # Replace with the actual path to your compiled binary
30 changes: 15 additions & 15 deletions .github/workflows/build_win_testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,25 @@ name: Build Win Testing
on:
push:
branches:
- testing # Adjust this to your main branch name
- testing # Adjust this to your main branch name
jobs:
build:
runs-on: windows-latest # Use the latest Windows runner
runs-on: windows-latest # Use the latest Windows runner

steps:
- name: Checkout code
uses: actions/checkout@v2 # This step checks out your repository
- name: Checkout code
uses: actions/checkout@v4 # This step checks out your repository

- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable

- name: Build and Compile
run: cargo build --release # Run your build command
- name: Build and Compile
run: cargo build --release # Run your build command

- name: Archive Artifact
uses: actions/upload-artifact@v2
with:
name: Win_Artifact
path: target/release/server_host.exe # Replace with the actual path to your compiled binary
- name: Archive Artifact
uses: actions/upload-artifact@v2
with:
name: Win_Artifact
path: target/release/server_host.exe # Replace with the actual path to your compiled binary
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/target
/Cargo.lock
/config.json
/config.json
/.vs
3 changes: 0 additions & 3 deletions .vs/ProjectSettings.json

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file removed .vs/ServerHost/v17/.wsuo
Binary file not shown.
7 changes: 0 additions & 7 deletions .vs/VSWorkspaceState.json

This file was deleted.

Binary file removed .vs/slnx.sqlite
Binary file not shown.

0 comments on commit 599f696

Please sign in to comment.