Skip to content

Commit 6d40511

Browse files
Merge branch 'main' into panel.ui.js
2 parents 744b940 + 2a9f309 commit 6d40511

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+10625
-3611
lines changed
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
name: Vue Simulator Desktop Release
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
release:
7+
types: [created]
8+
9+
jobs:
10+
build-tauri:
11+
runs-on: ${{ matrix.os }}
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
os: [ubuntu-latest, windows-latest, macos-latest]
16+
17+
steps:
18+
- name: Checkout repository
19+
uses: actions/checkout@v3
20+
# node 22 is been used in circuitverse primary code base.
21+
- name: Setup Node.js
22+
uses: actions/setup-node@v4
23+
with:
24+
node-version: 22
25+
26+
- name: Install Dependencies (Vue + Tauri CLI)
27+
run: |
28+
npm install
29+
npm install -g @tauri-apps/cli
30+
working-directory: ./src
31+
32+
- name: Build Frontend (Vue)
33+
run: |
34+
npm run build
35+
working-directory: ./src
36+
37+
- name: Setup Rust
38+
if: matrix.os != 'windows-latest'
39+
run: |
40+
rustup update stable
41+
rustup default stable
42+
43+
- name: Cache Rust Dependencies
44+
uses: Swatinem/rust-cache@v2
45+
46+
- name: Build Tauri App
47+
uses: tauri-apps/tauri-action@v0
48+
with:
49+
projectPath: ./src-tauri
50+
tagName: ${{ github.ref_name }}
51+
releaseName: "Tauri Desktop Release ${{ github.ref_name }}"
52+
releaseBody: "See the assets below to download this release."
53+
releaseDraft: false
54+
prerelease: false
55+
56+
- name: Upload Tauri Build Artifacts
57+
uses: actions/upload-artifact@v4
58+
with:
59+
name: Tauri Build Artifacts (${{ matrix.os }})
60+
path: |
61+
src-tauri/target/release/bundle

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ lerna-debug.log*
1010
node_modules
1111
dist
1212
dist-ssr
13+
public/simulatorvue/*
1314
*.local
1415

1516
# Editor directories and files

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
## Community
99
We would love to hear from you! We communicate on Slack:
1010

11-
[![Slack](https://circuitverse.org/slack)
11+
[![Slack](https://img.shields.io/badge/chat-on_slack-purple.svg?style=for-the-badge&logo=slack)](https://circuitverse.org/slack)
1212

1313
## Installation
1414
To set up the project on your local machine, follow these steps:

index-cv.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
<meta charset="UTF-8" />
55
<link rel="icon" href="/favicon.ico" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7-
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
7+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
88
<title>CircuitVerse</title>
99
</head>
1010

1111
<body>
12-
<div id="app"></div>
13-
<%- injectScript %>
12+
<div id="app"></div>
13+
<%- injectScript %>
1414
</body>
1515
</html>

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="UTF-8" />
55
<link rel="icon" href="/favicon.ico" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7-
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
7+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
88
<title>CircuitVerse</title>
99
</head>
1010

netlify.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
to = "/simulatorvue"
77
status = 301
88
force = true
9-
9+
1010
[[redirects]]
1111
from = "/simulatorvue/v0/*"
1212
to = "/simulatorvue/v0/index-cv.html"

0 commit comments

Comments
 (0)