Skip to content

Commit

Permalink
OSX M1/M2 cpu github build all
Browse files Browse the repository at this point in the history
  • Loading branch information
cavearr committed May 20, 2024
1 parent 2285800 commit 79ce399
Show file tree
Hide file tree
Showing 2 changed files with 67 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/main-osx-arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,20 @@ jobs:
- uses: actions/checkout@v3
with:
ref: develop

- name: Setup Nodejs version
uses: actions/setup-node@v3
with:
node-version: '21.1.0'

- name: Install npm dependencies
run: |
sed -i '' 's/darwinDependencies/dependencies/g' package.json
npm install --legacy-peer-deps
- name: Build OSX ARM64 packages
run: |
npm run buildOSXARM64
ls dist/
Expand Down
55 changes: 55 additions & 0 deletions package.json.backup
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{
"name": "icestudio",
"version": "0.11.3w",
"description": "Visual editor for open FPGA boards",
"contributors": [
{
"name": "Carlos Venegas Arrabe",
"url": "https://github.com/cavearr"
},
{
"name": "Juan González Gómez",
"url": "https://github.com/Obijuan"
}
],
"repository": "https://github.com/FPGAwars/icestudio",
"license": "GPL-2.0",
"scripts": {
"start": "grunt serve",
"buildLinux64": "grunt dist --platform=linux64",
"buildAarch64": "grunt dist --platform=aarch64 ",
"buildWindows": "grunt dist --platform=win64",
"buildOSX": "grunt dist --platform=darwin",
"buildOSXARM64": "grunt dist --platform=darwin --cpu=arm64",
"preptext": "grunt gettext && scripts/update_translations.sh",
"compiletext": "grunt compiletext",
"jshint": "grunt jshint",
"clean": "grunt clean",
"getcollection": "grunt getcollection",
"postinstall": "scripts/postInstall.sh && grunt getcollection && npmpd && cd app && npm install"
},
"devDependencies": {
"grunt": "^1.4.1",
"grunt-angular-gettext": "^2.5.3",
"grunt-appimage": "^0.6.0",
"grunt-cli": "^1.4.3",
"grunt-contrib-clean": "^2.0.0",
"grunt-contrib-compress": "^2.0.0",
"grunt-contrib-copy": "^1.0.0",
"grunt-contrib-jshint": "^3.1.1",
"grunt-contrib-watch": "^1.1.0",
"grunt-exec": "^3.0.0",
"grunt-json-minify": "^1.1.0",
"grunt-nw-builder": "^4.0.1",
"grunt-shell": "^3.0.1",
"grunt-wget": "^0.1.3",
"grunt-zip": "^0.18.2",
"npm-platform-dependencies": "0.1.0",
"nw": "0.83.0",
"nw-builder": "^4.5.4"
},
"dependencies": {
"fs-xattr": "^0.4.0",
"grunt-appdmg": "github:agoodney/grunt-appdmg"
}
}

0 comments on commit 79ce399

Please sign in to comment.