mirror of
https://github.com/felixrieseberg/macintosh.js.git
synced 2024-06-12 17:45:11 +00:00
Compare commits
3 Commits
7dda450bf6
...
5cdaad84cc
Author | SHA1 | Date | |
---|---|---|---|
|
5cdaad84cc | ||
|
fb930035c7 | ||
|
b3991ef1d0 |
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
|
@ -10,7 +10,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint:
|
lint:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
|
@ -28,24 +28,24 @@ jobs:
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-yarn-
|
${{ runner.os }}-yarn-
|
||||||
- name: Install
|
- name: Install
|
||||||
run: yarn
|
run: yarn --frozen-lockfile
|
||||||
- name: lint
|
- name: lint
|
||||||
run: yarn lint
|
run: yarn lint
|
||||||
build:
|
build:
|
||||||
needs: lint
|
needs: lint
|
||||||
name: Build (${{ matrix.os }})
|
name: Build (${{ matrix.os }} - ${{ matrix.arch }})
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
# Build for supported platforms
|
# Build for supported platforms
|
||||||
# https://github.com/electron/electron-packager/blob/ebcbd439ff3e0f6f92fa880ff28a8670a9bcf2ab/src/targets.js#L9
|
# https://github.com/electron/electron-packager/blob/ebcbd439ff3e0f6f92fa880ff28a8670a9bcf2ab/src/targets.js#L9
|
||||||
# 32-bit Linux unsupported as of 2019: https://www.electronjs.org/blog/linux-32bit-support
|
# 32-bit Linux unsupported as of 2019: https://www.electronjs.org/blog/linux-32bit-support
|
||||||
os: [ macOS-latest, ubuntu-latest, windows-latest ]
|
os: [ macOS-latest, ubuntu-20.04, windows-latest ]
|
||||||
arch: [ x64, arm64 ]
|
arch: [ x64, arm64 ]
|
||||||
include:
|
include:
|
||||||
- os: windows-latest
|
- os: windows-latest
|
||||||
arch: ia32
|
arch: ia32
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-20.04
|
||||||
arch: armv7l
|
arch: armv7l
|
||||||
# Publishing artifacts for multiple Windows architectures has
|
# Publishing artifacts for multiple Windows architectures has
|
||||||
# a bug which can cause the wrong architecture to be downloaded
|
# a bug which can cause the wrong architecture to be downloaded
|
||||||
|
@ -53,6 +53,7 @@ jobs:
|
||||||
exclude:
|
exclude:
|
||||||
- os: windows-latest
|
- os: windows-latest
|
||||||
arch: arm64
|
arch: arm64
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "macintosh.js",
|
"name": "macintosh.js",
|
||||||
"productName": "macintosh.js",
|
"productName": "macintosh.js",
|
||||||
"version": "1.2.3",
|
"version": "1.2.0",
|
||||||
"description": "Macintosh's System 8 in an Electron app. I'm sorry.",
|
"description": "Macintosh's System 8 in an Electron app. I'm sorry.",
|
||||||
"main": "src/main/index.js",
|
"main": "src/main/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user