Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
45c4f99
Correctly remove the OS X artifact.
ubidefeo Aug 29, 2025
fcd698d
WIP: attempt to fix cleaning artifacts
ubidefeo Aug 29, 2025
1eae595
Upgraded delete-artifacts to v5 for compatibility.
ubidefeo Aug 29, 2025
9a8c980
Tweaking delete-artifact@v5
ubidefeo Aug 29, 2025
eef6e08
Cleaned comment upon verifying working status.
ubidefeo Aug 29, 2025
53cb3a3
Merge pull request #199 from arduino/actions/fix-artifacts-clean
ubidefeo Aug 29, 2025
2863f86
First test of Linux arm64 build.
ubidefeo Aug 29, 2025
248bdd6
Added linux arm-64 to build targets.
ubidefeo Aug 29, 2025
9bdc33f
Attempt to build linux-arm64.
ubidefeo Aug 29, 2025
6287491
Split Linux build over 2 platforms to force arm64 rebuild.
ubidefeo Aug 29, 2025
d366ea1
Refine action.
ubidefeo Aug 29, 2025
53684ab
Test: overwriting artifacts.
ubidefeo Aug 29, 2025
1cca8c1
Updated linux image to run arm64 build on.
ubidefeo Aug 30, 2025
058c2bf
Testing on Linux 22.04 arm64.
ubidefeo Aug 30, 2025
5385a1a
Testing arm64 only with specific settings.
ubidefeo Aug 30, 2025
1231193
Shifting Linux arm64 deps build to external rebuild script.
ubidefeo Aug 30, 2025
a0486db
Checking for aarch64 as well as arm64 on Linux.
ubidefeo Aug 30, 2025
ffe558b
Updated notarize dependency.
ubidefeo Aug 30, 2025
8846339
Tidying up scripts.
ubidefeo Aug 30, 2025
55fc3ff
Enable all builds to test.
ubidefeo Aug 30, 2025
3a37b7e
Trying to fix the double-zip issue.
ubidefeo Aug 30, 2025
ea39f21
Trying to fix the double-zip issue.
ubidefeo Aug 30, 2025
b8beaa1
test: Build electron into folders to avoid double-zip.
ubidefeo Aug 30, 2025
b1a2658
Restored double zip to preserve permissions.
ubidefeo Aug 30, 2025
11451c5
Prevent extra artefacts from being uploaded.
ubidefeo Aug 31, 2025
3cb28eb
Prevent extra artefacts from being uploaded.
ubidefeo Aug 31, 2025
107ccab
Fixing artifacts generation/download/upload.
ubidefeo Aug 31, 2025
806db36
Fixing artifacts generation/download/upload.
ubidefeo Aug 31, 2025
b212ae7
Actions/build refactor (#200)
ubidefeo Aug 31, 2025
d48ac45
Force overwrite assets, upgrade svenstaro/upload-release-action.
ubidefeo Sep 1, 2025
07006ad
yMerge branch 'development' into actions/build-refactor
ubidefeo Sep 1, 2025
8d28ef9
Merge pull request #202 from arduino/actions/build-refactor
ubidefeo Sep 1, 2025
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
Prev Previous commit
Next Next commit
Testing arm64 only with specific settings.
Signed-off-by: ubi de feo <me@ubidefeo.com>
  • Loading branch information
ubidefeo committed Aug 30, 2025
commit 5385a1a39d792f44e19ec05ecb3916721df12f5e
46 changes: 30 additions & 16 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ jobs:
fail-fast: false
matrix:
config:
- os: [self-hosted, windows-sign-pc]
id: windows
- os: ubuntu-latest
id: linux
# - os: [self-hosted, windows-sign-pc]
# id: windows
# - os: ubuntu-latest
# id: linux
- os: ubuntu-22.04-arm
id: linux-arm64
- os: macos-latest
id: macos-universal
# - os: macos-latest
# id: macos-universal
runs-on: ${{ matrix.config.os }}
timeout-minutes: 90

Expand Down Expand Up @@ -69,8 +69,18 @@ jobs:
# IS_NIGHTLY: ${{ github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/main') }}
IS_RELEASE: ${{ startsWith(github.ref, 'refs/tags/') }}
IS_FORK: ${{ github.event.pull_request.head.repo.fork == true }}

# tweaking the build for Linux arm64
NPM_CONFIG_TARGET_ARCH: ${{ matrix.config.id == 'linux-arm64' && 'arm64' || '' }}
NPM_CONFIG_DISTURL: https://electronjs.org/headers
NPM_CONFIG_RUNTIME: electron
NPM_CONFIG_BUILD_FROM_SOURCE: ${{ matrix.config.id == 'linux-arm64' && 'true' || '' }}
CC: ${{ matrix.config.id == 'linux-arm64' && 'gcc' || '' }}
CXX: ${{ matrix.config.id == 'linux-arm64' && 'g++' || '' }}
run: |
if [ "${{ matrix.config.id }}" = "linux-arm64" ]; then
export PYTHON=$(which python3)
echo "Building for ARM64 architecture"
fi
# See: https://www.electron.build/code-signing
if [ $IS_FORK = true ]; then
echo "Skipping the app signing: building from a fork."
Expand Down Expand Up @@ -111,25 +121,29 @@ jobs:
strategy:
matrix:
artifact:
- path: "*-linux_x64.zip"
name: Arduino-Lab-for-MicroPython_Linux_X86-64
id: linux

# - path: "*-linux_x64.zip"
# name: Arduino-Lab-for-MicroPython_Linux_X86-64
# id: linux
- path: "*-linux_arm64.zip"
name: Arduino-Lab-for-MicroPython_Linux_ARM64
id: linux-arm64
- path: "*-mac_universal.zip"
name: Arduino-Lab-for-MicroPython_macOS_Universal
id: macos-universal
# - path: "*-mac_universal.zip"
# name: Arduino-Lab-for-MicroPython_macOS_Universal
# id: macos-universal
# - path: "*-win_x64.zip"
# name: Arduino-Lab-for-MicroPython_Windows_X86-64
# id: windows

# keep for future implementation
# Windows - installers (future)
# - path: "*Windows_64bit.exe"
# name: Windows_X86-64_interactive_installer
# id: windows
# - path: "*Windows_64bit.msi"
# name: Windows_X86-64_MSI
# id: windows
- path: "*-win_x64.zip"
name: Arduino-Lab-for-MicroPython_Windows_X86-64
id: windows


steps:
- name: Download job transfer artifact
Expand Down