Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor CI for tauri builds and enable Windows ARM builds #2815

Open
wants to merge 46 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
0f256ea
Pin CI runner versions (I don't love 'latest')
pierremtb Jun 11, 2024
3bc2a00
Merge branch 'pierremtb/fix-ci-runners-versions' into pierremtb/issue…
pierremtb Jun 26, 2024
1beadc0
Break down build-test-apps per platform
pierremtb Jun 26, 2024
de7e958
Add aarch64 target for Windows
pierremtb Jun 26, 2024
83ece96
No bundles for arm
pierremtb Jun 26, 2024
c58c0e7
WIP
pierremtb Jun 26, 2024
e05bce6
Upload the right app.exe
pierremtb Jun 26, 2024
7d7572b
Merge branch 'main' into pierremtb/issue2805
pierremtb Jul 3, 2024
3f977c7
Merge branch 'main' into pierremtb/issue2805
pierremtb Jul 10, 2024
468e86a
Add windows arm64 releases
pierremtb Jul 11, 2024
d9eead1
Break apart ci.yml into build-test-web and build-test-publish-apps
pierremtb Jul 11, 2024
5c35712
Clean up
pierremtb Jul 11, 2024
416002e
Clean up
pierremtb Jul 11, 2024
b19e89e
More clean up, fix CUT_RELEASE_PR eval
pierremtb Jul 11, 2024
dd3d604
Merge branch 'main' into pierremtb/issue2805
pierremtb Jul 11, 2024
c7c747a
Clean up
pierremtb Jul 12, 2024
e376e39
Win aarch64 bundle
pierremtb Jul 12, 2024
bbe4f50
Merge branch 'main' into pierremtb/issue2805
pierremtb Jul 12, 2024
3a4e323
Rename binary to zoo-modeling-app, enable msi bundle for windows-aarch64
pierremtb Jul 12, 2024
dc5277c
Merge branch 'main' into pierremtb/issue2805
pierremtb Jul 15, 2024
07b9401
Merge branch 'main' into pierremtb/issue2805
pierremtb Jul 16, 2024
933850e
A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu)
github-actions[bot] Jul 16, 2024
eaadc0e
Trigger CI
pierremtb Jul 16, 2024
93c7a6a
A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu)
github-actions[bot] Jul 16, 2024
6444fe5
Trigger CI
pierremtb Jul 16, 2024
bef7467
A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu)
github-actions[bot] Jul 16, 2024
9e336b4
Cleaning up upload
pierremtb Jul 16, 2024
a60f0d1
Test build release
pierremtb Jul 16, 2024
90e7741
Fix macos release build
pierremtb Jul 16, 2024
e4567b4
A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu)
github-actions[bot] Jul 16, 2024
fe21d66
Add missed if case
pierremtb Jul 16, 2024
21c7207
Add createUpdaterArtifacts property (breaking change in cli)
pierremtb Jul 16, 2024
a185005
Update last_update / last_download gen for win arm
pierremtb Jul 16, 2024
2179a37
Check updater-tes
pierremtb Jul 17, 2024
4711b57
Merge branch 'main' into pierremtb/issue2805
pierremtb Jul 17, 2024
b50891a
A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu)
github-actions[bot] Jul 17, 2024
912df5f
updater-test for arm too
pierremtb Jul 17, 2024
c3a3f1d
Add env vars
pierremtb Jul 17, 2024
bc8788b
Clean up of tests
pierremtb Jul 17, 2024
63178bb
Update pierremtb/issue2805 from main
pierremtb Jul 18, 2024
45cc51c
A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu)
github-actions[bot] Jul 18, 2024
e9ecdb5
Trigger CI
pierremtb Jul 18, 2024
e5aeb92
Merge branch 'main' into pierremtb/issue2805
pierremtb Jul 19, 2024
afeb6eb
A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu)
github-actions[bot] Jul 19, 2024
754abd0
Trigger CI
pierremtb Jul 19, 2024
233d79e
A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu)
github-actions[bot] Jul 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
386 changes: 202 additions & 184 deletions .github/workflows/ci.yml → ...hub/workflows/build-test-publish-apps.yml

Large diffs are not rendered by default.

78 changes: 78 additions & 0 deletions .github/workflows/build-test-web.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
name: build-test-web

on:
pull_request:
push:
branches:
- main

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
check-format:
runs-on: 'ubuntu-22.04'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- run: yarn install
- run: yarn fmt-check

check-types:
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- run: yarn install
- uses: Swatinem/rust-cache@v2
with:
workspaces: './src/wasm-lib'

- run: yarn build:wasm
- run: yarn xstate:typegen
- run: yarn tsc


check-typos:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
- name: Install codespell
run: |
python -m pip install codespell
- name: Run codespell
run: codespell --config .codespellrc # Edit this file to tweak the typo list and other configuration.


build-test-web:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'yarn'

- run: yarn install

- uses: Swatinem/rust-cache@v2
with:
workspaces: './src/wasm-lib'

- run: yarn build:wasm

- run: yarn simpleserver:ci

- run: yarn test:nowatch
2 changes: 1 addition & 1 deletion .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
create-release:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
permissions:
contents: write
pull-requests: read
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ $env:KITTYCAD_API_TOKEN="<YOUR_KITTYCAD_API_TOKEN>"
$env:VITE_KC_API_BASE_URL="https://api.dev.zoo.dev"
$env:E2E_TAURI_ENABLED="true"
$env:TS_NODE_COMPILER_OPTIONS='{"module": "commonjs"}'
$env:E2E_APPLICATION=".\src-tauri\target\debug\Zoo Modeling App.exe"
$env:E2E_APPLICATION=".\src-tauri\target\debug\zoo-modeling-app.exe"
Stop-Process -Name msedgedriver
yarn wdio run wdio.conf.ts
```
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "untitled-app",
"name": "zoo-modeling-app",
"version": "0.24.3",
"private": true,
"dependencies": {
Expand Down Expand Up @@ -113,7 +113,7 @@
"@iarna/toml": "^2.2.5",
"@lezer/generator": "^1.7.1",
"@playwright/test": "^1.45.1",
"@tauri-apps/cli": "==2.0.0-beta.13",
"@tauri-apps/cli": "==2.0.0-beta.22",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^15.0.2",
"@types/mocha": "^10.0.6",
Expand Down
Loading